]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
spi: spi-au1550.c was implicitly using module.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 23:33:33 +0000 (19:33 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:06:22 +0000 (04:06 -0400)
It needs the full module.h header, else you get:

drivers/spi/spi-au1550.c:1030: warning: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION'

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

index bddee5f516b2cb1af1e8e5ac4e3292a065f14c91..5784c8799616dac41c81a872b8cf758204cd8085 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/interrupt.h>
 #include <linux/slab.h>
 #include <linux/errno.h>
+#include <linux/module.h>
 #include <linux/device.h>
 #include <linux/platform_device.h>
 #include <linux/resource.h>