]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
x86: kernel/rtc.c needs export.h since it exports symbols
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 18:20:26 +0000 (14:20 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 05:43:48 +0000 (01:43 -0400)
As evidence, we see the following:

arch/x86/kernel/rtc.c:29: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/x86/kernel/rtc.c

index 3f2ad2640d8522410eb846341b9a8bd6f0d00f26..f16557a226fd3a0adfd3da2ca21a26fe59ded2db 100644 (file)
@@ -5,6 +5,7 @@
 #include <linux/mc146818rtc.h>
 #include <linux/acpi.h>
 #include <linux/bcd.h>
+#include <linux/export.h>
 #include <linux/pnp.h>
 #include <linux/of.h>