From: Mauro Carvalho Chehab Date: Sat, 24 Aug 2013 08:54:56 +0000 (-0300) Subject: [media] Fix build errors on usbtv when driver is builtin X-Git-Tag: v3.12-rc1~135^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fa1f40905333e10b47fa22609ce5c086eca9b11;p=pandora-kernel.git [media] Fix build errors on usbtv when driver is builtin As reported by Fengguang Wu drivers/built-in.o: In function `vb2_ioctl_streamon': >> (.text+0x8d354): undefined reference to `video_devdata' drivers/built-in.o: In function `vb2_ioctl_streamoff': >> (.text+0x8d397): undefined reference to `video_devdata' drivers/built-in.o: In function `vb2_ioctl_expbuf': ... That happens when: CONFIG_VIDEO_DEV=y CONFIG_VIDEO_V4L2=m CONFIG_VIDEO_USBTV=y As the core is module, usbtv should also be compiled as module. Reported-by: Fengguang Wu Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed