[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 e89e48b8f7283bfe00b376978065e7f2a64f01c2..d543928d4f0147b7042aef54659c16024ba3d186 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 536343da1e477b48b93615ff644e529aabfb5dd8..cb1d388cc647703d12736c4d37c5b98b67a1457b 100644 (file)
@@ -19,6 +19,7 @@
  * GNU General Public License ("GPL").
  */
 
+#include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/usb.h>
 
This page took 0.026293 seconds and 5 git commands to generate.