diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-02-14 23:26:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-14 15:03:29 -0800 |
commit | 7f206d499ab5ce4db766efd9a4335572d9082911 (patch) | |
tree | 8e0e698b703ee5494dd6f3c373ab0ec38c767ec4 /arch/arm/mach-sa1100/shannon.c | |
parent | 677fe555cbfb188af58cce105f4dae9505e58c31 (diff) | |
download | blackbird-op-linux-7f206d499ab5ce4db766efd9a4335572d9082911.tar.gz blackbird-op-linux-7f206d499ab5ce4db766efd9a4335572d9082911.zip |
ARM: sa1100/assabet: include platform_device.h directly
Patch "16559ae kgdb: remove #include <linux/serial_8250.h> from kgdb.h
caused assabet_defconfig to fail, since assabet.c did not
itself include linux/platform_device.h, although it needs it:
In file included from include/linux/mfd/ucb1x00.h:13:0,
from arch/arm/mach-sa1100/assabet.c:19:
include/linux/mfd/mcp.h:22:16: error: field 'attached_device' has incomplete type
include/linux/mfd/mcp.h:48:23: error: field 'drv' has incomplete type
In file included from arch/arm/mach-sa1100/assabet.c:19:0:
include/linux/mfd/ucb1x00.h:137:16: error: field 'dev' has incomplete type
arch/arm/mach-sa1100/assabet.c: In function 'assabet_init':
arch/arm/mach-sa1100/assabet.c:343:3: error: implicit declaration of function 'platform_device_register_simple' [-Wimplicit-function-declaration]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/mach-sa1100/shannon.c')
0 files changed, 0 insertions, 0 deletions