]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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>
Thu, 25 Aug 2011 17:55:41 +0000 (13:55 -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-device.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 8c0e19276970543490fa02b07209825c897e2828..b0a141cc02eec8b51960062af5578703522475f6 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 c72856c41434c570d395676a9669e4bd0f792184..ca9f0da18f4d258b475d1974dca855dfcb38033c 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <linux/types.h>
 #include <linux/ioctl.h>
+#include <linux/module.h>
 #include <linux/i2c.h>
 #if defined(CONFIG_SPI)
 #include <linux/spi/spi.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>