]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: Add module.h to drivers/staging users
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 3 Jul 2011 19:49:50 +0000 (15:49 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:06:12 +0000 (04:06 -0400)
Lots of people expect module.h to just "be there" without
any #include effort.  But we are crushing that.  So fix those
people in staging with broken expectations.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
63 files changed:
drivers/staging/altera-stapl/altera.c
drivers/staging/dt3155v4l/dt3155v4l.c
drivers/staging/iio/accel/adis16201_core.c
drivers/staging/iio/accel/adis16203_core.c
drivers/staging/iio/accel/adis16204_core.c
drivers/staging/iio/accel/adis16209_core.c
drivers/staging/iio/accel/adis16220_core.c
drivers/staging/iio/accel/adis16240_core.c
drivers/staging/iio/accel/kxsd9.c
drivers/staging/iio/accel/lis3l02dq_core.c
drivers/staging/iio/accel/sca3000_core.c
drivers/staging/iio/adc/ad7150.c
drivers/staging/iio/adc/ad7152.c
drivers/staging/iio/adc/ad7291.c
drivers/staging/iio/adc/ad7298_core.c
drivers/staging/iio/adc/ad7314.c
drivers/staging/iio/adc/ad7476_core.c
drivers/staging/iio/adc/ad7606_core.c
drivers/staging/iio/adc/ad7745.c
drivers/staging/iio/adc/ad7780.c
drivers/staging/iio/adc/ad7816.c
drivers/staging/iio/adc/ad7887_core.c
drivers/staging/iio/adc/ad799x_core.c
drivers/staging/iio/adc/adt7310.c
drivers/staging/iio/adc/adt7410.c
drivers/staging/iio/adc/adt75.c
drivers/staging/iio/adc/max1363_core.c
drivers/staging/iio/addac/adt7316-i2c.c
drivers/staging/iio/addac/adt7316.c
drivers/staging/iio/dac/ad5446.c
drivers/staging/iio/dac/ad5504.c
drivers/staging/iio/dac/ad5624r_spi.c
drivers/staging/iio/dac/ad5686.c
drivers/staging/iio/dac/ad5791.c
drivers/staging/iio/dds/ad5930.c
drivers/staging/iio/dds/ad9832.c
drivers/staging/iio/dds/ad9834.c
drivers/staging/iio/dds/ad9850.c
drivers/staging/iio/dds/ad9852.c
drivers/staging/iio/dds/ad9910.c
drivers/staging/iio/dds/ad9951.c
drivers/staging/iio/gyro/adis16060_core.c
drivers/staging/iio/gyro/adis16080_core.c
drivers/staging/iio/gyro/adis16130_core.c
drivers/staging/iio/gyro/adis16260_core.c
drivers/staging/iio/gyro/adxrs450_core.c
drivers/staging/iio/imu/adis16400_core.c
drivers/staging/iio/light/tsl2583.c
drivers/staging/iio/meter/ade7753.c
drivers/staging/iio/meter/ade7754.c
drivers/staging/iio/meter/ade7758_core.c
drivers/staging/iio/meter/ade7759.c
drivers/staging/iio/meter/ade7854-i2c.c
drivers/staging/iio/meter/ade7854-spi.c
drivers/staging/iio/meter/ade7854.c
drivers/staging/iio/resolver/ad2s120x.c
drivers/staging/iio/resolver/ad2s1210.c
drivers/staging/iio/resolver/ad2s90.c
drivers/staging/iio/trigger.h
drivers/staging/sm7xx/smtcfb.c
drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
drivers/staging/usbip/stub_dev.c
drivers/staging/usbip/stub_main.c

index 8d73a86427360a645132120b621f66b5d3287e29..95bc224c194f3ea1c23f6c10f8f0e14127bbf5c8 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/string.h>
 #include <linux/firmware.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include "altera.h"
 #include "altera-exprt.h"
 #include "altera-jtag.h"
index fe02d22274b4d21b3f5cf69943fd49fe4a9dc8b0..eb025de739b6cd4f31e8a7ca87c310381bd03dcf 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/stringify.h>
 #include <linux/delay.h>
 #include <linux/kthread.h>
+#include <linux/module.h>
 #include <media/v4l2-dev.h>
 #include <media/v4l2-ioctl.h>
 #include <media/videobuf2-dma-contig.h>
index 2fd01aecdf96ea5a30d75fde61f8a8add31617ae..1c7ac4f2b1ac718852f4bd28fd8f4bc40e249c7f 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/spi/spi.h>
 #include <linux/slab.h>
 #include <linux/sysfs.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index bf1988884e93e1e22807eaea7d212f0ba1712520..b6e0d84bb7fecb1d4ddcc864a833a3270cb72120 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/spi/spi.h>
 #include <linux/slab.h>
 #include <linux/sysfs.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index cfd09b3b9937e2d5e657222cce944cab87a2c2f1..61c24422eeb1b1f821884f995a6cb2e7b910b804 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/list.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 55f3a7bcaf0a67b8603de9ee0c7d6bbb5cfa7439..238438e7d6b8c6366115af13ef6d9cedaffe606d 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/list.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index bf9ba07c038306b10317629d6fe1e58f7fbfe18e..e119874e2bafba3a2aca2d3c274ee497ec66a0ce 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/list.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 4a4eafc58630998d96c2bfdb0d96e3288636ca77..3abac95399a576dd78941150462811981fd41c1b 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/list.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index c8a358a5df87ee22bd75e2ec913ed4864acfe4d9..3572115c3132a182d3f880ffeacec993d1204b1a 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/spi/spi.h>
 #include <linux/sysfs.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index a29dfd27d4408623458eb83ee3790fa7b44b409f..06cd30c63e3f0f389b268cfd491e0773ee493c7a 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/spi/spi.h>
 #include <linux/slab.h>
 #include <linux/sysfs.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 603f5bca797c649291848f53895e02111e2f9efd..d46ad54f88feec30cce8ce0dede8fac3279afe54 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/kernel.h>
 #include <linux/spi/spi.h>
 #include <linux/sysfs.h>
+#include <linux/module.h>
 #include "../iio.h"
 #include "../sysfs.h"
 #include "../ring_generic.h"
index 04017ef6688afa9809a2ec3d4ed662a678082061..e2e456c68ff12067e118223a6ac858741eb95604 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/i2c.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 21f5f380fb5e70a2682502e43e8f373503361089..fcec9b620c6e8bea6cc9c32682faa666e49bc690 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/i2c.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 96cbb17bc2cd9340442d5d837d57af5e1e3b3f0d..e884c78d8047a4486535c6e24824a9d08fe97b51 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/sysfs.h>
 #include <linux/list.h>
 #include <linux/i2c.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index b8e4ae29b0b5cfca99236a425ce444fecb95791a..44f78a0ada406e5353e173b968385e7dd94623ba 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/regulator/consumer.h>
 #include <linux/err.h>
 #include <linux/delay.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 9070d9cac725d3370f7b43a18493716ff3d15865..e3d38dbd846f42c47c009cf0f2fddef110782e1d 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/spi/spi.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index c21089894d28b70c9d4e7277d0bdcf089dcf8c9e..1350fb937d528515fa60bf5af675c99c9753c178 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/spi/spi.h>
 #include <linux/regulator/consumer.h>
 #include <linux/err.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 459371ae4dccd10de976f9b2aa5b7a7b60877553..8cc2601d1b33be62938498cb6663235b4116b233 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/gpio.h>
 #include <linux/delay.h>
 #include <linux/sched.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 4c13f26aa9ae3c5c7c8ba263309fa9d077815929..91d598c1a14be194adead7bcac4ac8bf8977c758 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/sysfs.h>
 #include <linux/list.h>
 #include <linux/i2c.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index e0c7b6cc05c7d511eeb7a2f464b94a958a672408..9cad35bae780a85cc51d9edf193ef460fc8e8dd8 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/err.h>
 #include <linux/sched.h>
 #include <linux/gpio.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 0c84217bde3ddd753fc2e3134701ccb537f620a2..16218d4a89e9c65b2c53a40238c6b718b9ffa4b2 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/sysfs.h>
 #include <linux/list.h>
 #include <linux/spi/spi.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 3d9121e5c37d69b44f4e2c2ee1c9424cab984e7e..204edc05e3b020a4223de88e154595ebba8cc5a3 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/spi/spi.h>
 #include <linux/regulator/consumer.h>
 #include <linux/err.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 92cfe2e3ea4a81f5bb4e907ecb30974287557bec..050fe32c9baf5dfe2c0c447429c32a78b7c8644b 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/slab.h>
 #include <linux/types.h>
 #include <linux/err.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 1a41b8034405ea18955d17e0c68fe00e1bce7605..697ad1b919540da6b043034626353268ccac6551 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/sysfs.h>
 #include <linux/list.h>
 #include <linux/spi/spi.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 76aa0639a55ab01a6aad84effd3f9ccc946bd896..b7631f18ee2de8cf5012f6c867cae3d45db64535 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/sysfs.h>
 #include <linux/list.h>
 #include <linux/i2c.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 38f141de6a4be018054dfa424126df05c4232761..6009b73a515568608cc6e7e44ead80527c29a525 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/i2c.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 72b0917412eea9e115c5c694002f6d0a41f4e679..0cd53d5e7aaf14a43c698fa4a07a48bf27e0c61d 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/regulator/consumer.h>
 #include <linux/slab.h>
 #include <linux/err.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 52d1ea349635dee4b5a2892fda87ea687a4cda1b..69fab53dec9d2ceceb9b77e74fcc39f13b8f446e 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/kernel.h>
 #include <linux/i2c.h>
 #include <linux/interrupt.h>
+#include <linux/module.h>
 
 #include "adt7316.h"
 
index 637316f79f78a041c5e58c65d4cbffaac4dce649..bad9dfd212757272566a5087b887ab4a08123b6b 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/list.h>
 #include <linux/i2c.h>
 #include <linux/rtc.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index e8a9d0bf1edbb4b69c9eb0d72aa2ec8625dd4c67..c670fb9de31f50422e0f1aa3af6ee2356002890f 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/spi/spi.h>
 #include <linux/regulator/consumer.h>
 #include <linux/err.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 1915f459868b304da85eb54c6d2e764721c9c11f..74ba62da618c8fb8882f01a4b69b2c4d50563b4d 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/regulator/consumer.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index a5b3776718e9ce456b32f1213228da3862f74896..7303bb1390141f170110e44e376157e72f8eb84f 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/regulator/consumer.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index fd67cfa5edb6bcfafbd1e83ffa9b30ac3ae5ab99..ae71d3f87d6482e66e845291ccf4d441bab51dd6 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/gpio.h>
 #include <linux/fs.h>
 #include <linux/device.h>
+#include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/spi/spi.h>
 #include <linux/slab.h>
index 64770d2a1b4ce88886e690a01f38b1838b61156d..cadd1d0a2c553b4941275b79d2bfcd855aeed8d0 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/regulator/consumer.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 0b2aa4cafdd80ee6942f04c5b12b459f0d3d9d40..4847ea2941d4536002b22a5006d2230f76b23c67 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/spi/spi.h>
 #include <linux/slab.h>
 #include <linux/sysfs.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index e3e61a469bb8c2ffcf3de5f80cf607424a4863b5..e6cfa649e8c932e45294e0e951140e6d48b091d6 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/spi/spi.h>
 #include <linux/regulator/consumer.h>
 #include <linux/err.h>
+#include <linux/module.h>
 #include <asm/div64.h>
 
 #include "../iio.h"
index e6454d58fe41cb855b1347638ec979146a986cae..a5b5aedd769132b61e57430ee95aa3dbbe689674 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/spi/spi.h>
 #include <linux/regulator/consumer.h>
 #include <linux/err.h>
+#include <linux/module.h>
 #include <asm/div64.h>
 
 #include "../iio.h"
index d7c9d05f6359651749e01433f0d7e569e28ba861..7f2dd47334f304bfe87d3ff6c187c5bfde6ad73b 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/spi/spi.h>
 #include <linux/slab.h>
 #include <linux/sysfs.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 0184585425d82c7a5ed22b9ada934ac43fa9c007..58afe4a070f767523111325b149ff7df8de55967 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/spi/spi.h>
 #include <linux/slab.h>
 #include <linux/sysfs.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 0fa217f7b9013bc17aae1ebb0e58daa99fa54390..1f72c75aa0ff6ccc2ccedc148c389a7968e5f1b4 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/spi/spi.h>
 #include <linux/slab.h>
 #include <linux/sysfs.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index d361d1f125defdce789d7c6cb97467f86a4c5adb..d3a1e53baae75156122f1592edbe57e1e9121e31 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/spi/spi.h>
 #include <linux/slab.h>
 #include <linux/sysfs.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index afa52d1961a955197bd8203cf25bc65c609e4a59..85593ff93a42ac9c580969c3158bff132603912b 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/spi/spi.h>
 #include <linux/slab.h>
 #include <linux/sysfs.h>
+#include <linux/module.h>
 
 
 #include "../iio.h"
index ad2db4d723dfb36a591a602f10c40a5fd6e1643b..1fd2c4e1da116e58c8d87faf60f2c8a888eb676a 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/spi/spi.h>
 #include <linux/slab.h>
 #include <linux/sysfs.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index c80e908d8acf8e53a50c45fd87c9c44a98fb0d9c..a229f1fcc0b5380d56da3641d48ea85ed29b638e 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/list.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 05797f404beaa7aded9702524b55b743e6c68a94..02de6503749a29426b2950872b64dc47c2928167 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/list.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 7502a264770be27b0cf3f0e2d16ddd5cd9af6276..7bd48e763f0fbb07bac9d62cf326cda805a8d361 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/list.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index a2c3b67dcbdf96111d1f32ee303769b5f4c6f36c..a35835c7090b772b5ec1094a8a721de0f623fcaa 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/list.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 5694610da1ca00bb56b20d5cb79a53e41a3ee006..58382f8b7419310665e1b112ade5fe37648a208a 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/mutex.h>
 #include <linux/unistd.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include "../iio.h"
 
 #define TSL258X_MAX_DEVICE_REGS                32
index 4d1bd42ff9e0f2fffead34f2bc2fa2fef65785f5..bccc5798fa5cdb34bbc0c58d53e31b2fe4d53a8d 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/list.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index f4f85fd5619be96d47d66723046a849af2178ad8..6f0f464aba38c34f9bf3ca17935978a7ba4bd610 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/list.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 299b95434e20b1de56613fc3a6bdf613682f4605..ac0e092e49d37759388328554b8cf83604865a97 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/list.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index a51a64cad0340b622c2b63b477716cbac86dbf19..31723e8e64fa090b6e8ea17bc2c98ecaf455b385 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/list.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index dd723435340538a3f2b48abe6b7b5267dda539cc..cbca3fd8fcd60e9b56daef53a2d9c71e8caf9fc2 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/kernel.h>
 #include <linux/i2c.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "ade7854.h"
index e0d10865590a51306745b16d6200ac113349126f..cfa23ba30efe98b46e2d9f1b57e4941dc4217596 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/kernel.h>
 #include <linux/spi/spi.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "ade7854.h"
index b82659f43bc684a1d43e6fcbcb849ae40502a614..961199e32d786b7895e8ae49d13dfa3537c7855f 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/list.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index bed4c725f2df0f5966bdf92da524588cb3d816cc..fdaf0a8fcf90d0fd1152a81d49a6e5112345e793 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/sysfs.h>
 #include <linux/delay.h>
 #include <linux/gpio.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index ecaf7bb790fef82142d7922a3fc490be593f6829..1267636439b30a258257d0c3129a8f474834b7e6 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/sysfs.h>
 #include <linux/delay.h>
 #include <linux/gpio.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index 166e2414ac8559390ffa584f98241baa51f680d2..9cdad76c188fe59d789e408c16d8d5d891dc287e 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/spi/spi.h>
 #include <linux/slab.h>
 #include <linux/sysfs.h>
+#include <linux/module.h>
 
 #include "../iio.h"
 #include "../sysfs.h"
index e0b58ed749b89a2585a56705b17be61054e50bda..3c1f92c0ed268c0befb89a4a457bf0069451fc6c 100644 (file)
@@ -7,6 +7,7 @@
  * the Free Software Foundation.
  */
 #include <linux/irq.h>
+#include <linux/module.h>
 
 #ifndef _IIO_TRIGGER_H_
 #define _IIO_TRIGGER_H_
index a164fc43bd8ee19fe805c5cb9a1a8dd966a23a2a..39dbf339a4fc1253415c26583bf23c5626f5cc30 100644 (file)
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/uaccess.h>
+#include <linux/module.h>
 #include <linux/console.h>
 #include <linux/screen_info.h>
 
 #ifdef CONFIG_PM
 #include <linux/pm.h>
+#include <linux/module.h>
 #endif
 
 #include "smtcfb.h"
index 36f4cb77567c5a1e01e065e9834baf231bdd479e..11728a03f8a082db7bdc58186b6c387243ed7f07 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/i2c.h>
 #include <linux/interrupt.h>
 #include <linux/regulator/consumer.h>
+#include <linux/module.h>
 #include "synaptics_i2c_rmi4.h"
 
 /* TODO: for multiple device support will need a per-device mutex */
index fce22f2bd8bf5efd7a1e5e0c30689c506a8c09f9..f8717fff4ea300156f1924a362e410a0a71be9af 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <linux/device.h>
 #include <linux/kthread.h>
+#include <linux/module.h>
 
 #include "usbip_common.h"
 #include "stub.h"
index a34249a9cb6e1c82934611cfa0e3522e8824dcee..2d6317850064aea62cca1119e054f1d79f0e0c0a 100644 (file)
@@ -18,6 +18,7 @@
  */
 
 #include <linux/string.h>
+#include <linux/module.h>
 
 #include "usbip_common.h"
 #include "stub.h"