c16352b5b3
The cobalt driver fails to link when it is built-in and MTD is disabled or a loadable module: drivers/media/built-in.o: In function `cobalt_flash_probe': :(.text+0xb8b46): undefined reference to `mtd_device_parse_register' :(.text+0xb8b88): undefined reference to `do_map_probe' drivers/media/built-in.o: In function `cobalt_flash_remove': :(.text+0xb8bb4): undefined reference to `mtd_device_unregister' :(.text+0xb8bbe): undefined reference to `map_destroy' This adds a Kconfig dependency to ensure we can call the API. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
cobalt-alsa-main.c | ||
cobalt-alsa-pcm.c | ||
cobalt-alsa-pcm.h | ||
cobalt-alsa.h | ||
cobalt-cpld.c | ||
cobalt-cpld.h | ||
cobalt-driver.c | ||
cobalt-driver.h | ||
cobalt-flash.c | ||
cobalt-flash.h | ||
cobalt-i2c.c | ||
cobalt-i2c.h | ||
cobalt-irq.c | ||
cobalt-irq.h | ||
cobalt-omnitek.c | ||
cobalt-omnitek.h | ||
cobalt-v4l2.c | ||
cobalt-v4l2.h | ||
m00233_video_measure_memmap_package.h | ||
m00235_fdma_packer_memmap_package.h | ||
m00389_cvi_memmap_package.h | ||
m00460_evcnt_memmap_package.h | ||
m00473_freewheel_memmap_package.h | ||
m00479_clk_loss_detector_memmap_package.h | ||
m00514_syncgen_flow_evcnt_memmap_package.h |