Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1357661
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/3] [media] cobalt: add MTD dependency |
| Date | 2016-03-14 23:50 +0100 |
| Message-ID | <rcJtg-1DY-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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> --- drivers/media/pci/cobalt/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/pci/cobalt/Kconfig b/drivers/media/pci/cobalt/Kconfig index a01f0cc745cc..70343829a125 100644 --- a/drivers/media/pci/cobalt/Kconfig +++ b/drivers/media/pci/cobalt/Kconfig @@ -4,6 +4,7 @@ config VIDEO_COBALT depends on PCI_MSI && MTD_COMPLEX_MAPPINGS depends on GPIOLIB || COMPILE_TEST depends on SND + depends on MTD select I2C_ALGOBIT select VIDEO_ADV7604 select VIDEO_ADV7511 -- 2.7.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 1/3] [media] cobalt: add MTD dependency Arnd Bergmann <arnd@arndb.de> - 2016-03-14 23:50 +0100
[PATCH 3/3] [media] v4l2-mc: remove unused dtv_demod variable Arnd Bergmann <arnd@arndb.de> - 2016-03-14 23:50 +0100
[PATCH 2/3] [media] am437x-vfpe: fix typo in vpfe_get_app_input_index Arnd Bergmann <arnd@arndb.de> - 2016-03-14 23:50 +0100
Re: [PATCH 2/3] [media] am437x-vfpe: fix typo in vpfe_get_app_input_index "Lad, Prabhakar" <prabhakar.csengg@gmail.com> - 2016-03-15 19:40 +0100
csiph-web