drivers/media: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 1 Aug 2011 19:26:38 +0000 (15:26 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:51 +0000 (19:31 -0400)
These two macros were in module.h but now module.h is no longer
sprayed across every source file imaginable, so the users need
to expicitly call out their use of them.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/media/common/saa7146_hlp.c
drivers/media/dvb/siano/smsendian.c
drivers/media/media-device.c
drivers/media/radio/wl128x/fmdrv_v4l2.c
drivers/media/rc/ir-raw.c
drivers/media/video/hdpvr/hdpvr-i2c.c
drivers/media/video/v4l2-ctrls.c
drivers/media/video/v4l2-event.c
drivers/media/video/v4l2-fh.c
drivers/media/video/v4l2-subdev.c

index 1d1d8d200755a2c9af0ca241b983dd55f1a672a4..c9c6e9a6c31d30e187ef38b480d0a46a226f1803 100644 (file)
@@ -1,4 +1,5 @@
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <media/saa7146_vv.h>
 
 static void calculate_output_format_register(struct saa7146_dev* saa, u32 palette, u32* clip_format)
index 457b6d02ef856ac1af08f698e34c516ce6b861b7..e2657c2f0109afc8b5a47524f0aec617a5984f85 100644 (file)
@@ -19,6 +19,7 @@
 
  ****************************************************************/
 
+#include <linux/export.h>
 #include <asm/byteorder.h>
 
 #include "smsendian.h"
index 16b70b4412f79a5afa226ec2acd350fb4e2e28df..6edc9ba81203698e9948c066ddfac2370a142b1d 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/types.h>
 #include <linux/ioctl.h>
 #include <linux/media.h>
+#include <linux/export.h>
 
 #include <media/media-device.h>
 #include <media/media-devnode.h>
index ec1d52f38904e55805e65d4583099a5c7bcc210b..af88a2d3b0bbb7b223a60e22c385128d99f7fdb7 100644 (file)
@@ -28,6 +28,8 @@
  *
  */
 
+#include <linux/export.h>
+
 #include "fmdrv.h"
 #include "fmdrv_v4l2.h"
 #include "fmdrv_common.h"
index 37fdbff0051bf7cfc7e893ac4a9b37b35368f322..2e5cd3100b64476da15ef33508cbd39dd42ded50 100644 (file)
@@ -12,6 +12,7 @@
  *  GNU General Public License for more details.
  */
 
+#include <linux/export.h>
 #include <linux/kthread.h>
 #include <linux/mutex.h>
 #include <linux/kmod.h>
index 2a1ac287591db29fa94d87fdd9fd08b44e0decaf..82e819fa91c0814047074b867ae2bca713570b75 100644 (file)
@@ -17,6 +17,7 @@
 
 #include <linux/i2c.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 
 #include "hdpvr.h"
 
index 06b6014d4fb4cda5adb94c54a425c0b08b94019e..f7824a02680c8204025e6d92c34cf1c1c0b8a687 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <linux/ctype.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <media/v4l2-ioctl.h>
 #include <media/v4l2-device.h>
 #include <media/v4l2-ctrls.h>
index 53b190cf225e734e71a0ddaacfa1c66b69644b67..46037f225529d2e35a6eb0fb15c87368ac8dd54d 100644 (file)
@@ -29,6 +29,7 @@
 
 #include <linux/sched.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 
 static unsigned sev_pos(const struct v4l2_subscribed_event *sev, unsigned idx)
 {
index 122822d2b8b2ccb1a1869833f44ea77ddec33999..9e3fc040ea20303056fcffcaa0b6f0f318deffb4 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <linux/bitops.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <media/v4l2-dev.h>
 #include <media/v4l2-fh.h>
 #include <media/v4l2-event.h>
index b7967c9dc4ae917c16cec58da1ac16b947bedd50..6521cf87852ff221ed7bb356c9781a6673d489d3 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/slab.h>
 #include <linux/types.h>
 #include <linux/videodev2.h>
+#include <linux/export.h>
 
 #include <media/v4l2-ctrls.h>
 #include <media/v4l2-device.h>