summaryrefslogtreecommitdiffstats
path: root/mm/kasan
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-05-07 23:33:14 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-06-23 15:08:58 +0200
commit1a55caf010c46d4f2073f9e92e97ef65358c16bf (patch)
tree28ff797513f68cf2d674fcb3bc9033e85d469ff3 /mm/kasan
parente508a9f66332ffae585f68cf005a8310a9a9bc14 (diff)
downloadlinux-1a55caf010c46d4f2073f9e92e97ef65358c16bf.tar.bz2
media: cxusb-analog: fix V4L2 dependency
CONFIG_DVB_USB_CXUSB_ANALOG is a 'bool' symbol with a dependency on the tristate CONFIG_VIDEO_V4L2, which means it can be enabled as =y even when its dependency is =m. This leads to a link failure: drivers/media/usb/dvb-usb/cxusb-analog.o: In function `cxusb_medion_analog_init': cxusb-analog.c:(.text+0x92): undefined reference to `v4l2_subdev_call_wrappers' drivers/media/usb/dvb-usb/cxusb-analog.o: In function `cxusb_medion_register_analog': cxusb-analog.c:(.text+0x466): undefined reference to `v4l2_device_register' cxusb-analog.c:(.text+0x4c3): undefined reference to `v4l2_i2c_new_subdev' cxusb-analog.c:(.text+0x4fb): undefined reference to `v4l2_subdev_call_wrappers' ... Change the dependency only disallow the analog portion of the driver in that configuration. Fixes: e478d4054054 ("media: cxusb: add analog mode support for Medion MD95700") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'mm/kasan')
0 files changed, 0 insertions, 0 deletions