linux/arch/arm/mach-mmp
Arnd Bergmann 3524080826 ARM: mmp: allow platform devices with modular USB
The USB host drivers need platform data to be defined on
pxa168 and pxa910, but the conditionals used in the devices.c
file only work if the drivers are built-in. This patch
fixes the definition by changing the #ifdef to #if IS_ENABLED(),
which works both for built-in and modular Kconfig symbols.

I found one specific problem using 'randconfig' builds, but
for consistency, this patch uses IS_ENABLED() for all Kconfig
symbols in these three files.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
2014-03-18 16:03:44 +01:00
..
include/mach ARM: mmp: delete the custom GPIO header 2013-09-27 14:00:56 +02:00
aspenite.c ARM: mmp: allow platform devices with modular USB 2014-03-18 16:03:44 +01:00
avengers_lite.c ARM: pxa: move PXA_GPIO_TO_IRQ macro 2013-04-11 10:00:05 +08:00
brownstone.c ARM: pxa: move PXA_GPIO_TO_IRQ macro 2013-04-11 10:00:05 +08:00
clock-mmp2.c ARM: pxa: remove cpu_is_xxx in gpio driver 2013-04-11 09:59:23 +08:00
clock-pxa168.c ARM: pxa: remove cpu_is_xxx in gpio driver 2013-04-11 09:59:23 +08:00
clock-pxa910.c ARM: pxa: remove cpu_is_xxx in gpio driver 2013-04-11 09:59:23 +08:00
clock.c
clock.h ARM: pxa: use correct __iomem annotations 2011-10-08 21:03:07 +08:00
common.c reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
common.h irqchip: move mmp irq driver 2013-08-24 17:39:02 +08:00
devices.c ARM: mmp: allow platform devices with modular USB 2014-03-18 16:03:44 +01:00
flint.c ARM: pxa: move PXA_GPIO_TO_IRQ macro 2013-04-11 10:00:05 +08:00
gplugd.c ARM: pxa: move PXA_GPIO_TO_IRQ macro 2013-04-11 10:00:05 +08:00
jasper.c ARM: pxa: move PXA_GPIO_TO_IRQ macro 2013-04-11 10:00:05 +08:00
Kconfig ARM: mmp: build sram driver alone 2013-12-11 17:33:02 -08:00
Makefile ARM: mmp: build sram driver alone 2013-12-11 17:33:02 -08:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
mmp2-dt.c irqchip: mmp: support irqchip 2013-08-24 17:42:09 +08:00
mmp2.c ARM: mmp: avoid to include head file in mach-mmp 2013-08-24 17:44:45 +08:00
mmp-dt.c irqchip: mmp: support irqchip 2013-08-24 17:42:09 +08:00
pm-mmp2.c ARM: mmp: add PM support for mmp2 2012-05-07 11:35:00 +08:00
pm-pxa910.c ARM: mmp: add pm support for pxa910 2012-05-07 11:48:37 +08:00
pxa168.c reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
pxa910.c ARM: mmp: avoid to include head file in mach-mmp 2013-08-24 17:44:45 +08:00
sram.c ARM: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
tavorevb.c ARM: pxa: move PXA_GPIO_TO_IRQ macro 2013-04-11 10:00:05 +08:00
teton_bga.c Merge branch 'for-next' of git://github.com/rydberg/linux into next 2013-06-27 23:00:25 -07:00
time.c ARM: mmp: Switch to sched_clock_register() 2013-11-21 15:41:00 -08:00
ttc_dkb.c ARM: mmp: allow platform devices with modular USB 2014-03-18 16:03:44 +01:00