linux_dsm_epyc7002/arch/blackfin
Linus Walleij 350bdb84fd blackfin: Fix local <asm/gpio.h> includes
When making the pin control submenu globally visible, all kinds
of oddities appear, in blackfin a few files were #including
<linux/gpio.h> and relying on that to pull in <asm/gpio.h>.

This was not working when pin control but not GPIOLIB was
selected resulting in a breakage in allmodconfig. The code these
files were using was still there and defined in <asm/gpio.h>
just not pulle in from just including <linux/gpio.h>

Simply add the required includes explicitly in the blackfin
kernel core and everything compiles fine.

Delete the use of the incorrect <linux/gpio.h> where possible.

Add stubs to <asm/gpio.h> for the functions called from PM:
these should probably also depend on !PINCTRL but since the
global CONFIG_PM symbol is used to compile PM support,
we need some more intrusive thing here, to be tested by
Blackfin maintainers.

Cc: Steven Miao <realmz6@gmail.com>
Cc: Huanhuan Feng <huanhuan.feng@analog.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-10-19 10:12:49 +02:00
..
boot blackfin: Ignore generated uImages 2013-09-13 10:42:39 +08:00
configs gpio: mcp23s08: move to pinctrl 2017-05-23 09:45:29 +02:00
include blackfin: Fix local <asm/gpio.h> includes 2017-10-19 10:12:49 +02:00
kernel blackfin: Fix local <asm/gpio.h> includes 2017-10-19 10:12:49 +02:00
lib Blackfin: comment spelling s/divsor/divisor/ 2016-04-18 12:51:57 +02:00
mach-bf518 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf527 pinctrl: mcp23s08: simplify spi_present_mask handling 2017-05-23 09:50:47 +02:00
mach-bf533 arch/blackfin/mach-bf533/boards/stamp.c: add linux/delay.h 2015-01-08 15:10:52 -08:00
mach-bf537 mtd: nand: Rename nand.h into rawnand.h 2017-08-13 10:11:49 +02:00
mach-bf538 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2016-03-17 21:51:52 -07:00
mach-bf548 gpio: Include linux/gpio.h instead of asm/gpio.h 2016-02-16 00:20:03 +01:00
mach-bf561 mtd: nand: Rename nand.h into rawnand.h 2017-08-13 10:11:49 +02:00
mach-bf609 gpio: mcp23s08: move to pinctrl 2017-05-23 09:45:29 +02:00
mach-common blackfin: Fix local <asm/gpio.h> includes 2017-10-19 10:12:49 +02:00
mm sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
Clear_BSD.txt blackfin: license: Change ADI BSD license 2012-05-21 14:54:30 +08:00
Kconfig pinctrl: adi2: Fix Kconfig build problem 2017-10-19 10:10:56 +02:00
Kconfig.debug pinctrl: adi2: Fix Kconfig build problem 2017-10-19 10:10:56 +02:00
Makefile blackfin: rename vmImage to uImage after we move to buildroot 2013-05-07 18:26:39 +08:00