linux/drivers/staging
Arnd Bergmann cd70c37b5a [media] staging: add MEDIA_SUPPORT dependency
staging media drivers tend to have a build time dependency on the
media support. In particular, the newly added pulse8 cec driver can
only be a loadable module if MEDIA_SUPPORT=m, but its build dependency
is on a 'bool' symbol (MEDIA_CEC), so a randconfig build can fail
with pulse8_cec built-in:

drivers/staging/built-in.o: In function `pulse8_disconnect':
dgnc_utils.c:(.text+0x114): undefined reference to `cec_unregister_adapter'
drivers/staging/built-in.o: In function `pulse8_irq_work_handler':
dgnc_utils.c:(.text+0x1bc): undefined reference to `cec_transmit_done'
dgnc_utils.c:(.text+0x1d8): undefined reference to `cec_received_msg'
dgnc_utils.c:(.text+0x1f4): undefined reference to `cec_transmit_done'
dgnc_utils.c:(.text+0x218): undefined reference to `cec_transmit_done'
dgnc_utils.c:(.text+0x23c): undefined reference to `cec_transmit_done'
drivers/staging/built-in.o: In function `pulse8_connect':
dgnc_utils.c:(.text+0x844): undefined reference to `cec_allocate_adapter'
dgnc_utils.c:(.text+0x8a4): undefined reference to `cec_delete_adapter'
dgnc_utils.c:(.text+0xa10): undefined reference to `cec_register_adapter'

Originally, MEDIA_CEC itself was a tristate symbol, which would have
prevented this, but since 5bb2399a4f ("[media] cec: fix Kconfig
dependency problems"), it doesn't work like that any more.

This encloses all of the staging media drivers in a CONFIG_MEDIA_SUPPORT
dependency in Kconfig, which solves the problem by enforcing that none
of the drivers can be built-in if the media core is a module.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-07-28 20:16:16 -03:00
..
android staging/android: sync_debug: unproxify debugfs files' fops 2016-06-17 21:24:41 -07:00
board staging: board: line over 80 characters 2016-04-29 17:58:02 -07:00
clocking-wizard
comedi staging: comedi: avoid using timeval 2016-06-17 21:14:34 -07:00
dgnc Staging and IIO driver update for 4.7-rc1 2016-05-20 22:20:48 -07:00
emxx_udc Staging: emxx_udc: emxx_udc: fixed coding style issue 2016-05-09 14:25:52 +02:00
fbtft Staging: fbtft: fb_agm1264k-fl: No space is necessary after cast. 2016-03-28 07:30:36 -07:00
fsl-mc staging: fsl-mc: convert mc command build/parse to use C structs 2016-06-26 17:14:03 -07:00
fwserial Staging and IIO driver update for 4.7-rc1 2016-05-20 22:20:48 -07:00
gdm724x staging/gdm724x: fix "alignment should match open parenthesis" issues 2016-05-09 14:25:52 +02:00
goldfish
gs_fpgaboot Staging: gs_fpgaboot: remove blank line in io.c 2016-03-29 12:43:14 -07:00
i4l staging: i4l: act2000: remove extra space 2016-05-01 14:33:34 -07:00
iio Third set of IIO new device support, features and cleanups for the 4.8 cycle. 2016-07-14 12:05:29 +09:00
ks7010 staging: ks7010: remove bogus NULL checks 2016-06-18 19:47:00 -07:00
lustre staging: lustre: quiet lockdep recursive lock warning 2016-06-20 14:28:39 -07:00
media [media] staging: add MEDIA_SUPPORT dependency 2016-07-28 20:16:16 -03:00
most Staging: most: Remove __cplusplus check in header files 2016-03-28 07:30:36 -07:00
mt29f_spinand staging: mt29f_spinand: set ECC algorithm explicitly 2016-05-05 23:52:04 +02:00
netlogic Staging: netlogic: Remove & from function name. 2016-03-28 07:30:36 -07:00
nvec Staging: nvec: removes a useless cast on a void pointer 2016-03-28 07:30:36 -07:00
octeon staging: octeon: Fix alignment with open parenthesis 2016-03-28 07:30:36 -07:00
octeon-usb
olpc_dcon Revert "Staging: olpc_dcon: Remove obsolete driver" 2016-04-04 13:52:35 -07:00
rtl8188eu Revert "Staging: rtl8188eu: rtw_efuse: Use sizeof type *pointer instead of sizeof type." 2016-06-17 11:21:45 -07:00
rtl8192e treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
rtl8192u rtl8192u: Remove unused semaphore rf_sem 2016-06-18 19:50:48 -07:00
rtl8712 rtl8712: Fixed alignment to match open parenthesis 2016-05-01 13:57:12 -07:00
rtl8723au nl80211: support beacon report scanning 2016-07-06 14:51:31 +02:00
rts5208 staging: rts5208: alignment to match open paranthesis 2016-04-29 17:58:02 -07:00
skein staging: skein: cleanup: align code to parentheses 2016-05-03 14:07:11 -07:00
slicoss staging: slicoss: fix missing blank line 2016-04-29 17:58:02 -07:00
sm750fb staging: sm750fb: initialize max_d to maximum D value of 6 2016-03-29 14:41:15 -07:00
speakup Staging and IIO driver update for 4.7-rc1 2016-05-20 22:20:48 -07:00
unisys staging: unisys: visornic: change return statements 2016-06-07 22:58:16 -07:00
vme Staging and IIO driver update for 4.7-rc1 2016-05-20 22:20:48 -07:00
vt6655 Staging and IIO driver update for 4.7-rc1 2016-05-20 22:20:48 -07:00
vt6656 Staging and IIO driver update for 4.7-rc1 2016-05-20 22:20:48 -07:00
wilc1000 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2016-07-27 12:03:20 -07:00
wlan-ng nl80211: support beacon report scanning 2016-07-06 14:51:31 +02:00
xgifb staging: xgifb: fix block comments 2016-03-30 21:34:55 -07:00
Kconfig staging: ks7010: add driver from Nanonote extra-repository 2016-06-07 22:42:53 -07:00
Makefile staging: ks7010: add driver from Nanonote extra-repository 2016-06-07 22:42:53 -07:00