Skip to content
Snippets Groups Projects
Commit e71dc5f7 authored by Haojian Zhuang's avatar Haojian Zhuang
Browse files

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: default avatarHaojian Zhuang <haojian.zhuang@linaro.org>
parent f6161aa1
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@
*/
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <asm/mach/arch.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment