media: remove reference to CONFIG_EMBEDDED in MEDIA_SUPPORT_FILTER
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Thu, 8 Sep 2022 10:43:34 +0000 (12:43 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 8 Sep 2022 16:19:29 +0000 (18:19 +0200)
The config EMBEDDED selects EXPERT, i.e., when EMBEDDED is enabled, EXPERT
is usually also enabled. Hence, it sufficient to have the option
MEDIA_SUPPORT_FILTER set to y if !EXPERT.

This way, MEDIA_SUPPORT_FILTER does not refer to CONFIG_EMBEDDED anymore
and allows us to remove CONFIG_EMBEDDED in the close future.

Remove the reference to CONFIG_EMBEDDED in MEDIA_SUPPORT_FILTER.

Link: https://lore.kernel.org/linux-media/20220908104337.11940-4-lukas.bulwahn@gmail.com
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/Kconfig

index ba6592b..283b78b 100644 (file)
@@ -24,7 +24,7 @@ if MEDIA_SUPPORT
 
 config MEDIA_SUPPORT_FILTER
        bool "Filter media drivers"
-       default y if !EMBEDDED && !EXPERT
+       default y if !EXPERT
        help
           Configuring the media subsystem can be complex, as there are
           hundreds of drivers and other config options.