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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 26 Aug 2011 00:01:20 +0000 (17:01 -0700)
Lots of people expect module.h to just "be there" without
any #include effort.  But we are crushing that.  So fix those
files in staging relying on implicit module.h presence.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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/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/olpc_dcon/olpc_dcon.c
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 be777a4945ca44d2b962405d8182ab29715dc9ff..c2eff6a82db1fb3699f9a50f33085607f15ff44e 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 05aa41cf875bb9df300bf071c2202fbb9a45d46b..4059ea609517ad700f6c681a4af2673907e60d7e 100644 (file)
@@ -18,6 +18,7 @@
  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
  ***************************************************************************/
 
+#include <linux/module.h>
 #include <linux/version.h>
 #include <linux/stringify.h>
 #include <linux/delay.h>
index 16b388bf8991bc9340e02e6d60a1ba7a1dedf1d1..2b8c5e9c33e543e4794a73ee2706c4ab4708d684 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 a7c06b957bec45b5997da8d8030f485ce2902c79..14836762736960b7207be90216429a424266c2ca 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 6a64b2b723ded3d4caf5455301fbf12732fc4956..445a75b1d54073a58749d83d1a645a419800a15a 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 bd3d55714ed61a16307a10d9b69d305dd0c28156..ca671ddc152d08178f9e48e098d97dcec041c1b4 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 237da463c67ed24b9264387a69e7a681219a3bc7..d485f7342f8d55fa20cadd7ff67b55253df22ba7 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 3f2d047f58e9e2c9d44a065799854c0712fcdd4c..2a0565181d4de172f5f1a156bd46a970e4ebcef5 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 7f946aa014044dc4cd4b7f99a8f8a724b778805a..33001f8992eb4bf63c37b541e2df4bbbf51fcc52 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 d5684fc29cdfa81fd178e36f187461144b6e3fd4..dbf1622e19f2d39dc9ebe7d07011dbbed7597c5c 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 5a1e15f6aec9c896c1863bf8a6fa293a22545c50..c01acbc7b34ecf4725edd642e7e2750e1ffad233 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 21d1931edb38b76967c3954c79db58754dd3c6c7..3e5bead26367e5c49914fc7197cadd5e7315378c 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 f2fdd48303e381d3c20a87db62dd6c8ed237e077..bb8be5daa6b810dfd94fbe4b826f5c224b70e3f3 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 dcdb180d7e75b11a6c06f552a46bc7338eebacb9..ef0558130ca7be658d12e18ab212f5e6167a6846 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 f90cdeacadf65337abbceafe539775978f07beed..46d1f8f3fe82a832dead752a2b578588c5b0c16d 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 3fa4bb34a432d624cad5dc7f69ad3cf2f60eb332..f5aa57bb8f232ce9fa4684fd5b0c1f2bcefcf747 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 a7da9e68ebaafd7c0d5ad0375d881de06e030873..74e222f92431fd2e40d96dc69d1cbfcc5dc0f3a9 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 2438ed597e9f4496d50108a4528db290bc5e8557..33e4e21971430e2e1b461166d1c526398baa2802 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 fc31cac7eae2e8465f2f79371025125fea11c0fb..dd782776ce3493ff192e0e021357add4060fc1d8 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 6896b4cddf3d97832a6b7b9a50d2cecfd585c2c5..e10a4d828146a4c68e0f364436a752a3a03b2c41 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 c828b6f0a2815987f0f487e29235b24baefafb0a..474d946866dee10f5aa7bec92722f66bef83c809 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 ba3d9b3154af3d5ff506be946f5551e317d8ee04..5243ef962b5c6fb9494e6cb8a7691b8e2981bb92 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 5b00b70b3fef6c5c720fd4f58f8abdb8c7948997..5c45d0fe816558fac248a67c4921709fb1b1eb97 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 86722657e7c84dc3d56123ed9bb00f98177c916f..7f65b92598d5c43708b58d4496e94c984cfffb97 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 33585533a0b0ca70385e077ba26513ab41e835be..b72df8ca7235877b99cbac94e6717687c9d47c20 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 6c18e24d0f66a228bed7306903c7e913574d9629..3d478e7a48fc409328893929da2a4970966b9c59 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 0cbe677359bf9b1694dff0d5a132e815317aed0d..3f5087329e5bb2d04d32c4b3145d28d6f5561d64 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 bd3eb1019867bf1a52c34cef12366c5f1d73d333..16ba0e11e44307f0985bef00d7f031249d1ce643 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 5ddaefcf94a0c20b1ec2aeb281f11164e1c85829..a9f270e5eb96d74406684f147d8f9af56bf15cb3 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 bc45228d0709dccee0d39f092b9c755798f5d06d..fcd7819a124688429aacb80644c6991e5318c1ce 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 f65ad49726308fe769ae23aed0a9b3801911704b..670b615839fb50415f313f060512f55eef14242c 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 371eb0104b40da5b3b823798d03543df9be62c01..58a29b1e243c0bfa14fee48b6f31c05b16f3b93a 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 f75fe85638997a0ae8a50b2fce142b1993417fe2..c7daa2fcecf33dc0cefbbfb8d13ffb6f7289a890 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 9b240ed858ff212e2622317f87a277a443f363ca..bc1f83eea7c67203a2761558932a5631f6e9b9ee 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 53cb031b04dc7f9910a3bfcbd7258f63d5705149..f8459e8e855216f51afe2c01801430d7fdc57a07 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 43a66d46d00c645817ebb4cf5be27882ad9eae29..3739bd24951c650ea80914b79eb10638f93b9214 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 722fc338f366fb3b241a187cd8ff95d69e3764a3..598fcb3599f90cab87db6d231385d3c4aefddf10 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 d3cd68e9045e7b9212e078717916c32fb219824f..af24ddfb58c9f39f8b6668c6da3ecace25bf76bd 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/pci_ids.h>
 #include <linux/interrupt.h>
 #include <linux/delay.h>
+#include <linux/module.h>
 #include <linux/backlight.h>
 #include <linux/device.h>
 #include <linux/uaccess.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 77d64693b87345beb839b957055ea131505a38ca..55c0b510889cef6cf922b98969be8d4907a2f9cb 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"