usbtv: fix compiler error due to missing module.h
PATCH 1/1 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 <[email protected]>
drivers/media/usb/usbtv/usbtv-core.c +0 -2
@@ -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)
drivers/media/usb/usbtv/usbtv.h +1 -0
@@ -19,6 +19,7 @@* GNU General Public License ("GPL"). */ +#include <linux/module.h> #include <linux/slab.h> #include <linux/usb.h>