staging: Add export.h for THIS_MODULE/EXPORT_SYMBOL to drivers/staging users.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 10 Jul 2011 17:09:12 +0000 (13:09 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:32:08 +0000 (19:32 -0400)
Lots of drivers have in the past expected the presence of basic things
like THIS_MODULE and EXPORT_SYMBOL.  With the header cleanup, they wont
have these.  Call out the include explicitly.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
26 files changed:
drivers/staging/gma500/intel_i2c.c
drivers/staging/gma500/mrst_hdmi_i2c.c
drivers/staging/iio/accel/adis16201_ring.c
drivers/staging/iio/accel/adis16201_trigger.c
drivers/staging/iio/accel/adis16203_ring.c
drivers/staging/iio/accel/adis16203_trigger.c
drivers/staging/iio/accel/adis16204_ring.c
drivers/staging/iio/accel/adis16204_trigger.c
drivers/staging/iio/accel/adis16209_ring.c
drivers/staging/iio/accel/adis16209_trigger.c
drivers/staging/iio/accel/adis16240_ring.c
drivers/staging/iio/accel/adis16240_trigger.c
drivers/staging/iio/accel/lis3l02dq_ring.c
drivers/staging/iio/gyro/adis16260_ring.c
drivers/staging/iio/gyro/adis16260_trigger.c
drivers/staging/iio/iio_simple_dummy_buffer.c
drivers/staging/iio/imu/adis16400_ring.c
drivers/staging/iio/imu/adis16400_trigger.c
drivers/staging/iio/industrialio-buffer.c
drivers/staging/iio/meter/ade7758_ring.c
drivers/staging/iio/meter/ade7758_trigger.c
drivers/staging/intel_sst/intel_sst_drv_interface.c
drivers/staging/line6/audio.c
drivers/staging/rts5139/rts51x_scsi.c
drivers/staging/solo6x10/g723.c
drivers/staging/usbip/usbip_event.c

index e33432df510ca0934b7be02e6610f1160f131f85..51cbf65268e6f747bcd00ee932b44958087226e2 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <linux/i2c.h>
 #include <linux/i2c-algo-bit.h>
+#include <linux/export.h>
 
 #include "psb_drv.h"
 #include "psb_intel_reg.h"
index 351b9d897b9fd45bd31793c3fb2bd1a1e0e34486..36e7edc4d14c7b0c38679db46079b624dce70a1d 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/i2c.h>
 #include <linux/interrupt.h>
 #include <linux/delay.h>
+#include <linux/export.h>
 #include "psb_drv.h"
 
 #define HDMI_READ(reg)         readl(hdmi_dev->regs + (reg))
index dbd883294d6c024feba885bb8789201c28eb4abe..0016ed378e3a68e2236e725277d1bc25a8af4bc4 100644 (file)
@@ -1,3 +1,4 @@
+#include <linux/export.h>
 #include <linux/interrupt.h>
 #include <linux/mutex.h>
 #include <linux/kernel.h>
index f448258884c5abbdee74214b327f59b7f48eae72..bce505e716d05f04f26a12a52f9fc9e5a4017593 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
 #include <linux/spi/spi.h>
+#include <linux/export.h>
 
 #include "../iio.h"
 #include "../trigger.h"
index 838d3012c87b43c369f3d78eae9d92a16a796ae5..1fdfe6f6ac6ec54fe2b09120c4759d5ece381941 100644 (file)
@@ -1,3 +1,4 @@
+#include <linux/export.h>
 #include <linux/interrupt.h>
 #include <linux/mutex.h>
 #include <linux/kernel.h>
index 50165f9ddc52afe92d17590072a60b15ece48062..24bcb8e15c55d708e1735b3e2aff7af06ecfc95e 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
 #include <linux/spi/spi.h>
+#include <linux/export.h>
 
 #include "../iio.h"
 #include "../trigger.h"
index 08551bb48f18d4c2443f2adc2b7d855c5b6c3fd4..6fd3d8f51f2c48a5bc2f7b6615bb0b5da7da7176 100644 (file)
@@ -1,3 +1,4 @@
+#include <linux/export.h>
 #include <linux/interrupt.h>
 #include <linux/mutex.h>
 #include <linux/kernel.h>
index 55b661c98d2db6ccde9e2f65d27e0d56898c95d4..6e542af02c095eebb4281d374dae7f8d10f0a11f 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
 #include <linux/spi/spi.h>
+#include <linux/export.h>
 
 #include "../iio.h"
 #include "../trigger.h"
index bb66364bef042e195f64b7cc8f18677ab627205c..d17e39d9545901480ee126c4f5a4a7385871a93a 100644 (file)
@@ -1,3 +1,4 @@
+#include <linux/export.h>
 #include <linux/interrupt.h>
 #include <linux/mutex.h>
 #include <linux/kernel.h>
index 8df8a9791d5ea10bb92f077c3b4a9dc69904212b..c5d82c1a55d96f408ebb0797bb788a750ad47aa5 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
 #include <linux/spi/spi.h>
+#include <linux/export.h>
 
 #include "../iio.h"
 #include "../trigger.h"
index 34f1e7e6a56f35c89a96ef23a393d0ebc169afb4..b907ca3f4fdf5145a994f835c4f6a6869a5efcbf 100644 (file)
@@ -1,3 +1,4 @@
+#include <linux/export.h>
 #include <linux/interrupt.h>
 #include <linux/mutex.h>
 #include <linux/kernel.h>
index 13f1d142eea3ed8bef37519fa87449e96d0c24f8..8e0ce568e64c29cf9048ae5044c85ef1c6b96072 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
 #include <linux/spi/spi.h>
+#include <linux/export.h>
 
 #include "../iio.h"
 #include "../trigger.h"
index 5c542dd046162eaf5fc5d1b32f5f34bf7f20d79b..89527af8f4c5aa30fd3c99dee46b52207027c93e 100644 (file)
@@ -4,6 +4,7 @@
 #include <linux/kernel.h>
 #include <linux/spi/spi.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 
 #include "../iio.h"
 #include "../ring_sw.h"
index 679c1515571640e4d562bec3ed82140ce899f8c1..52a9e784e7c8f73b4bf575d688b5da5c4d6749cd 100644 (file)
@@ -1,3 +1,4 @@
+#include <linux/export.h>
 #include <linux/interrupt.h>
 #include <linux/mutex.h>
 #include <linux/kernel.h>
index 2f2b2160f44d73b1812e929461f87bd761fd4a85..8299cd18d705f2b32445858942080377852c445e 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
 #include <linux/spi/spi.h>
+#include <linux/export.h>
 
 #include "../iio.h"
 #include "../trigger.h"
index f0b36d25414da2105270f40a14a655501f535f99..edad0e7b4f4d0e7a8f9eab4f19a6f6518daaaa11 100644 (file)
@@ -12,6 +12,7 @@
  */
 
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include <linux/interrupt.h>
 #include <linux/irq.h>
index c3682458d78dbc3e042b9d87b973d03b410914ed..fd886bf51a6d8a2fd7a31472fe8e98c3924dcea5 100644 (file)
@@ -4,6 +4,7 @@
 #include <linux/spi/spi.h>
 #include <linux/slab.h>
 #include <linux/bitops.h>
+#include <linux/export.h>
 
 #include "../iio.h"
 #include "../ring_sw.h"
index bf991531e0d6dd0b243602236265e719cd9068f0..5bf0007575222377b2005ed6427b9d77b0e81689 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
 #include <linux/spi/spi.h>
+#include <linux/export.h>
 
 #include "../iio.h"
 #include "../trigger.h"
index 6dd5d7d629a162d7c74830728e2991209bceefc2..9df0ce81dadebce8d13f2e159669550637deab88 100644 (file)
@@ -14,6 +14,7 @@
  * - Alternative access techniques?
  */
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/device.h>
 #include <linux/fs.h>
 #include <linux/cdev.h>
index 99ade658a2dcc048edbec37c76907de7a167d4cb..00fa2ac5c4597636ef4ffa7050bc1b64464e5c9e 100644 (file)
@@ -5,6 +5,7 @@
  *
  * Licensed under the GPL-2.
  */
+#include <linux/export.h>
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
 #include <linux/spi/spi.h>
index 392dfe30244335ca5ddab0764f0ee4fa58ed8dc8..b6569c706651dffb8a0776ebf92aa0b9a0ea449c 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
 #include <linux/spi/spi.h>
+#include <linux/export.h>
 
 #include "../iio.h"
 #include "../trigger.h"
index 69daa1404b68f740752921d1ca13c840fba92b6d..22bd29c0c439055a73c97f0ec1652c193ba56293 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/fs.h>
 #include <linux/firmware.h>
 #include <linux/pm_runtime.h>
+#include <linux/export.h>
 #include "intel_sst.h"
 #include "intel_sst_ioctl.h"
 #include "intel_sst_fw_ipc.h"
index 61db1f99b0c8ffe5c62eae7b8ad505da141de5df..8e7398393a592d1491aa64867f727ecedce748d5 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <sound/core.h>
 #include <sound/initval.h>
+#include <linux/export.h>
 
 #include "driver.h"
 #include "audio.h"
index 3b32f9e6e4f09a38f62afb07038286790e2d8f60..87c9cdc8bd29866446783f85e09d4c923ed9c7f5 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
+#include <linux/export.h>
 
 #include <scsi/scsi.h>
 #include <scsi/scsi_eh.h>
index 59274bfca95bf53182f2800aae636ad0d91a7725..2cd0de28a633eb7ca74386baff9199e870748b30 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/kthread.h>
 #include <linux/slab.h>
 #include <linux/freezer.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include <sound/initval.h>
 #include <sound/pcm.h>
index ecd1862539cd7a91786711da0575cb8c005c9cd7..d332a34ddb6d125f7e737d8abe146f12750f8faa 100644 (file)
@@ -18,6 +18,7 @@
  */
 
 #include <linux/kthread.h>
+#include <linux/export.h>
 
 #include "usbip_common.h"