staging: add module.h to various iio drivers
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 30 Sep 2011 22:06:58 +0000 (18:06 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 23:07:51 +0000 (16:07 -0700)
Since they are assuming it is there implicitly and will fail otherwise
with things like:

drivers/staging/iio/impedance-analyzer/ad5933.c:816: warning: type
 defaults to ‘int’ in declaration of ‘MODULE_AUTHOR’

drivers/staging/iio/adc/ad7280a.c:990: warning: type defaults to ‘int’
 in declaration of ‘MODULE_AUTHOR’

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/adc/ad7280a.c
drivers/staging/iio/impedance-analyzer/ad5933.c

index 4c67cfea6ed4404196439cb64a84c1ebfeff8e27..59581feecd444130b83bf4e2f2b24ad09f219bf2 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/err.h>
 #include <linux/delay.h>
 #include <linux/interrupt.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index eab288e5f43992f41c362196819f766ebd63a7cb..dc0f9835e73d8010af0b9e6c39fda2a410812705 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/types.h>
 #include <linux/err.h>
 #include <linux/delay.h>
+#include <linux/module.h>
 #include <asm/div64.h>
 
 #include "../iio.h"