From: Maxim Plotnikov Date: Tue, 1 Dec 2020 00:14:27 +0000 (+0100) Subject: media: Fix RTL2832 not depending on REGMAP_I2C X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=65fba0b15e99606f094d688bc562168834d214dd;p=linux.git media: Fix RTL2832 not depending on REGMAP_I2C Prevents this compile time error: ERROR: modpost: "__regmap_init_i2c" [drivers/media/dvb-frontends/rtl2832.ko] undefined! Signed-off-by: Maxim Plotnikov Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb-frontends/Kconfig b/drivers/media/dvb-frontends/Kconfig index 643b851a6b604..6a1ef277fea48 100644 --- a/drivers/media/dvb-frontends/Kconfig +++ b/drivers/media/dvb-frontends/Kconfig @@ -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.