media: Fix RTL2832 not depending on REGMAP_I2C
authorMaxim Plotnikov <wgh@torlan.ru>
Tue, 1 Dec 2020 00:14:27 +0000 (01:14 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 13:42:23 +0000 (14:42 +0100)
Prevents this compile time error:

ERROR: modpost: "__regmap_init_i2c" [drivers/media/dvb-frontends/rtl2832.ko] undefined!

Signed-off-by: Maxim Plotnikov <wgh@torlan.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/dvb-frontends/Kconfig

index 643b851..6a1ef27 100644 (file)
@@ -515,7 +515,7 @@ config DVB_RTL2830
 config DVB_RTL2832
        tristate "Realtek RTL2832 DVB-T"
        depends on DVB_CORE && I2C && I2C_MUX
-       select REGMAP
+       select REGMAP_I2C
        default m if !MEDIA_SUBDRV_AUTOSELECT
        help
          Say Y when you want to support this frontend.