فهرست منبع

[media] usbtv: fix compiler error due to missing module.h

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>
Hans Verkuil 11 سال پیش
والد
کامیت
9fd9330c2d
2فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 0 2
      drivers/media/usb/usbtv/usbtv-core.c
  2. 1 0
      drivers/media/usb/usbtv/usbtv.h

+ 0 - 2
drivers/media/usb/usbtv/usbtv-core.c

@@ -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)

+ 1 - 0
drivers/media/usb/usbtv/usbtv.h

@@ -19,6 +19,7 @@
  * GNU General Public License ("GPL").
  */
 
+#include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/usb.h>