[media] usbtv: fix compiler error due to missing module.h
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 4 Feb 2014 09:00:52 +0000 (06:00 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Feb 2014 09:07:06 +0000 (07:07 -0200)
usbtv-video.c needs module.h. So move the module.h include from usbtv-core.c to usbtv.h,
that way both core.c and video.c have it.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/usbtv/usbtv-core.c
drivers/media/usb/usbtv/usbtv.h

index e89e48b..d543928 100644 (file)
@@ -28,8 +28,6 @@
  * GNU General Public License ("GPL").
  */
 
-#include <linux/module.h>
-
 #include "usbtv.h"
 
 int usbtv_set_regs(struct usbtv *usbtv, const u16 regs[][2], int size)
index 536343d..cb1d388 100644 (file)
@@ -19,6 +19,7 @@
  * GNU General Public License ("GPL").
  */
 
+#include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/usb.h>