]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
rtc: rtc-tx4939.c is modular and so needs module.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 29 Jul 2011 00:23:50 +0000 (20:23 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:49 +0000 (04:05 -0400)
Or else you'll get this:

drivers/rtc/rtc-tx4939.c:317: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE'

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/rtc/rtc-tx4939.c

index ec6313d153599d5f745550760b5ad1990d7e7b3c..aac0ffed4345d5cabb1f26d2e7e3bd4927aecc4e 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/rtc.h>
 #include <linux/platform_device.h>
 #include <linux/interrupt.h>
+#include <linux/module.h>
 #include <linux/io.h>
 #include <linux/gfp.h>
 #include <asm/txx9/tx4939.h>