Permalink
Browse files

staging: Add module.h to drivers/staging users

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>
  • Loading branch information...
1 parent 6a18097 commit 99c978529a40132a6f7a5f136b4362b56fc88d8c @paulgortmaker paulgortmaker committed with gregkh Jul 3, 2011
Showing with 64 additions and 0 deletions.
  1. +1 −0 drivers/staging/altera-stapl/altera.c
  2. +1 −0 drivers/staging/dt3155v4l/dt3155v4l.c
  3. +1 −0 drivers/staging/iio/accel/adis16201_core.c
  4. +1 −0 drivers/staging/iio/accel/adis16203_core.c
  5. +1 −0 drivers/staging/iio/accel/adis16204_core.c
  6. +1 −0 drivers/staging/iio/accel/adis16209_core.c
  7. +1 −0 drivers/staging/iio/accel/adis16240_core.c
  8. +1 −0 drivers/staging/iio/accel/kxsd9.c
  9. +1 −0 drivers/staging/iio/accel/lis3l02dq_core.c
  10. +1 −0 drivers/staging/iio/accel/sca3000_core.c
  11. +1 −0 drivers/staging/iio/adc/ad7150.c
  12. +1 −0 drivers/staging/iio/adc/ad7152.c
  13. +1 −0 drivers/staging/iio/adc/ad7291.c
  14. +1 −0 drivers/staging/iio/adc/ad7298_core.c
  15. +1 −0 drivers/staging/iio/adc/ad7314.c
  16. +1 −0 drivers/staging/iio/adc/ad7476_core.c
  17. +1 −0 drivers/staging/iio/adc/ad7606_core.c
  18. +1 −0 drivers/staging/iio/adc/ad7745.c
  19. +1 −0 drivers/staging/iio/adc/ad7780.c
  20. +1 −0 drivers/staging/iio/adc/ad7816.c
  21. +1 −0 drivers/staging/iio/adc/ad7887_core.c
  22. +1 −0 drivers/staging/iio/adc/ad799x_core.c
  23. +1 −0 drivers/staging/iio/adc/adt7310.c
  24. +1 −0 drivers/staging/iio/adc/adt7410.c
  25. +1 −0 drivers/staging/iio/adc/adt75.c
  26. +1 −0 drivers/staging/iio/adc/max1363_core.c
  27. +1 −0 drivers/staging/iio/addac/adt7316-i2c.c
  28. +1 −0 drivers/staging/iio/addac/adt7316.c
  29. +1 −0 drivers/staging/iio/dac/ad5446.c
  30. +1 −0 drivers/staging/iio/dac/ad5504.c
  31. +1 −0 drivers/staging/iio/dac/ad5624r_spi.c
  32. +1 −0 drivers/staging/iio/dac/ad5686.c
  33. +1 −0 drivers/staging/iio/dac/ad5791.c
  34. +1 −0 drivers/staging/iio/dds/ad5930.c
  35. +1 −0 drivers/staging/iio/dds/ad9832.c
  36. +1 −0 drivers/staging/iio/dds/ad9834.c
  37. +1 −0 drivers/staging/iio/dds/ad9850.c
  38. +1 −0 drivers/staging/iio/dds/ad9852.c
  39. +1 −0 drivers/staging/iio/dds/ad9910.c
  40. +1 −0 drivers/staging/iio/dds/ad9951.c
  41. +1 −0 drivers/staging/iio/gyro/adis16060_core.c
  42. +1 −0 drivers/staging/iio/gyro/adis16080_core.c
  43. +1 −0 drivers/staging/iio/gyro/adis16130_core.c
  44. +1 −0 drivers/staging/iio/gyro/adis16260_core.c
  45. +1 −0 drivers/staging/iio/gyro/adxrs450_core.c
  46. +1 −0 drivers/staging/iio/imu/adis16400_core.c
  47. +1 −0 drivers/staging/iio/light/tsl2583.c
  48. +1 −0 drivers/staging/iio/meter/ade7753.c
  49. +1 −0 drivers/staging/iio/meter/ade7754.c
  50. +1 −0 drivers/staging/iio/meter/ade7758_core.c
  51. +1 −0 drivers/staging/iio/meter/ade7759.c
  52. +1 −0 drivers/staging/iio/meter/ade7854-i2c.c
  53. +1 −0 drivers/staging/iio/meter/ade7854-spi.c
  54. +1 −0 drivers/staging/iio/meter/ade7854.c
  55. +1 −0 drivers/staging/iio/resolver/ad2s120x.c
  56. +1 −0 drivers/staging/iio/resolver/ad2s1210.c
  57. +1 −0 drivers/staging/iio/resolver/ad2s90.c
  58. +1 −0 drivers/staging/iio/trigger.h
  59. +1 −0 drivers/staging/olpc_dcon/olpc_dcon.c
  60. +2 −0 drivers/staging/sm7xx/smtcfb.c
  61. +1 −0 drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
  62. +1 −0 drivers/staging/usbip/stub_dev.c
  63. +1 −0 drivers/staging/usbip/stub_main.c
@@ -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"
@@ -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>
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -11,6 +11,7 @@
#include <linux/kernel.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
+#include <linux/module.h>
#include "adt7316.h"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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>
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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
@@ -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"
@@ -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"
@@ -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"
Oops, something went wrong.

0 comments on commit 99c9785

Please sign in to comment.