media: staging: media: zoran: move config select on primary kconfig
authorCorentin Labbe <clabbe@baylibre.com>
Tue, 14 Dec 2021 16:16:27 +0000 (17:16 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 23 Jan 2022 20:18:39 +0000 (21:18 +0100)
commit3b70b0ecd7ca3f0a6ec0a271498aef6c9802a940
tree5f03a088da08f3bede2f2d21a5c791c936b32e33
parent82e3a496eb56da0b9f29fdc5b63cedb3289e91de
media: staging: media: zoran: move config select on primary kconfig

Since all kconfigs for card selection are bool, this causes all selected
modules to be always built-in.
Prevent this by moving selects to the main tristate kconfig.

By doing this, remove also all "if MEDIA_SUBDRV_AUTOSELECT" which are
wrong, since zoran always need them to work.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/zoran/Kconfig