From: Haojian Zhuang Date: Fri, 15 Mar 2013 08:27:53 +0000 (+0800) Subject: ARM: mmp: add platform_device head file in gplugd X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e71dc5f787f3908b8b8158103fc7d74a78a22cd1;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ARM: mmp: add platform_device head file in gplugd arch/arm/mach-mmp/gplugd.c: In function ‘gplugd_init’: arch/arm/mach-mmp/gplugd.c:188:2: error: implicit declaration of function ‘platform_device_register’ [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make[1]: *** [arch/arm/mach-mmp/gplugd.o] Error 1 make: *** [arch/arm/mach-mmp] Error 2 So append platform_device.h to resolve build issue. Signed-off-by: Haojian Zhuang --- diff --git a/arch/arm/mach-mmp/gplugd.c b/arch/arm/mach-mmp/gplugd.c index d1e2d595e79c..f62b68d926f4 100644 --- a/arch/arm/mach-mmp/gplugd.c +++ b/arch/arm/mach-mmp/gplugd.c @@ -9,6 +9,7 @@ */ #include +#include #include #include