diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-03-12 15:29:22 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-03-18 16:03:44 +0100 |
commit | 3524080826c289df0efd5159282f6c4aeacf0c11 (patch) | |
tree | f532fcd500b7d5b347183714b5612128b404009c /arch/arm/mach-ixp4xx | |
parent | bfdad565ae0a61ac943974b8ae61ec0ed55ceb04 (diff) | |
download | linux-stable-3524080826c289df0efd5159282f6c4aeacf0c11.tar.gz linux-stable-3524080826c289df0efd5159282f6c4aeacf0c11.tar.bz2 linux-stable-3524080826c289df0efd5159282f6c4aeacf0c11.zip |
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>
Diffstat (limited to 'arch/arm/mach-ixp4xx')
0 files changed, 0 insertions, 0 deletions