[ARM] S3C24XX: Fix missing <linux/sysdev.h>
authorBen Dooks <ben-linux@fluff.org>
Sun, 17 May 2009 21:47:07 +0000 (22:47 +0100)
committerBen Dooks <ben-linux@fluff.org>
Mon, 18 May 2009 15:26:01 +0000 (16:26 +0100)
In our recent changes, arch/arm/plat-s3c24xx/gpiolib.c needs
to have <linux/sysdev.h> included for it to build.

This fixes the following error/warnings:

arch/arm/plat-s3c/include/plat/pm.h:104: error: expected declaration specifiers or '...' before 'pm_message_t'
arch/arm/plat-s3c/include/plat/pm.h:104: warning: 'struct sys_device' declared inside parameter list
arch/arm/plat-s3c/include/plat/pm.h:104: warning: its scope is only this definition or declaration, which is probably not what you want
arch/arm/plat-s3c/include/plat/pm.h:105: warning: 'struct sys_device' declared inside parameter list

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c24xx/gpiolib.c

index 4bac12dc073312b120a02ca1b6aa7031d8fa2a85..3cbec6d3f38187520466bcddfa89fedbd14b5fd0 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/interrupt.h>
+#include <linux/sysdev.h>
 #include <linux/ioport.h>
 #include <linux/io.h>
 #include <linux/gpio.h>