aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-01-28 16:17:44 -0500
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-02 08:08:02 -0500
commit68998ea253862a23c530fe0c2b1a0715ace517c7 (patch)
tree930c3b436e0419633fc3ff3b699beb23f22aa733
parentcc287f7c404216b0b680f78963e3fcd766df6484 (diff)
[media] siano: fix Kconfig dependencies
The USB and MMC front-ends to the siano driver both only make sense when combined with the SMS_SIANO_MDTV driver. That driver already requires RC_CORE to not be a module, so we also need to add that dependency here. drivers/built-in.o: In function `smssdio_remove': :(.text+0x155bd8): undefined reference to `smscore_putbuffer' :(.text+0x155bdc): undefined reference to `smscore_unregister_device' drivers/built-in.o: In function `smssdio_interrupt': :(.text+0x155e4c): undefined reference to `smsendian_handle_rx_message' :(.text+0x155e50): undefined reference to `smscore_onresponse' :(.text+0x155e54): undefined reference to `smscore_getbuffer' :(.text+0x155e58): undefined reference to `smscore_putbuffer' drivers/built-in.o: In function `smssdio_sendrequest': :(.text+0x155f20): undefined reference to `smsendian_handle_tx_message' drivers/built-in.o: In function `smssdio_probe': :(.text+0x15610c): undefined reference to `sms_get_board' :(.text+0x156114): undefined reference to `smscore_register_device' :(.text+0x156118): undefined reference to `smscore_set_board_id' :(.text+0x156128): undefined reference to `smscore_unregister_device' :(.text+0x156140): undefined reference to `smscore_start_device' 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>
-rw-r--r--drivers/media/mmc/siano/Kconfig2
-rw-r--r--drivers/media/usb/siano/Kconfig2
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/mmc/siano/Kconfig b/drivers/media/mmc/siano/Kconfig
index aa05ad3c1ccb..7693487e2f63 100644
--- a/drivers/media/mmc/siano/Kconfig
+++ b/drivers/media/mmc/siano/Kconfig
@@ -6,6 +6,8 @@ config SMS_SDIO_DRV
6 tristate "Siano SMS1xxx based MDTV via SDIO interface" 6 tristate "Siano SMS1xxx based MDTV via SDIO interface"
7 depends on DVB_CORE && HAS_DMA 7 depends on DVB_CORE && HAS_DMA
8 depends on MMC 8 depends on MMC
9 depends on !RC_CORE || RC_CORE
9 select MEDIA_COMMON_OPTIONS 10 select MEDIA_COMMON_OPTIONS
11 select SMS_SIANO_MDTV
10 ---help--- 12 ---help---
11 Choose if you would like to have Siano's support for SDIO interface 13 Choose if you would like to have Siano's support for SDIO interface
diff --git a/drivers/media/usb/siano/Kconfig b/drivers/media/usb/siano/Kconfig
index 5afbd9a4b55c..d37b742d4f7a 100644
--- a/drivers/media/usb/siano/Kconfig
+++ b/drivers/media/usb/siano/Kconfig
@@ -5,7 +5,9 @@
5config SMS_USB_DRV 5config SMS_USB_DRV
6 tristate "Siano SMS1xxx based MDTV receiver" 6 tristate "Siano SMS1xxx based MDTV receiver"
7 depends on DVB_CORE && HAS_DMA 7 depends on DVB_CORE && HAS_DMA
8 depends on !RC_CORE || RC_CORE
8 select MEDIA_COMMON_OPTIONS 9 select MEDIA_COMMON_OPTIONS
10 select SMS_SIANO_MDTV
9 ---help--- 11 ---help---
10 Choose if you would like to have Siano's support for USB interface 12 Choose if you would like to have Siano's support for USB interface
11 13