Skip to contentSkip to conversation

Fix RTL2832 not depending on REGMAP_I2C

PATCH New [email protected] 1 participant 1 message Dec 1, 2020 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix RTL2832 not depending on REGMAP_I2C

From: Maxim Plotnikov <[email protected]>

Prevents this compile time error:

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

---
 drivers/media/dvb-frontends/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/dvb-frontends/Kconfig +1 -1
index 643b851a6b60..6a1ef277fea4 100644
@@ -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.
Signature · 1 line
2.26.2