diff mbox

tda10071: Fix dependency to REGMAP_I2C

Message ID 1448306344-7691-1-git-send-email-zzam@gentoo.org (mailing list archive)
State New, archived
Headers show

Commit Message

Matthias Schwarzott Nov. 23, 2015, 7:19 p.m. UTC
Without I get this error for by dvb-card:
  tda10071: Unknown symbol devm_regmap_init_i2c (err 0)
  cx23885_dvb_register() dvb_register failed err = -22
  cx23885_dev_setup() Failed to register dvb adapters on VID_B

Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
---
 drivers/media/dvb-frontends/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Antti Palosaari Nov. 23, 2015, 7:39 p.m. UTC | #1
Moikka!
Thank you for the patch! Usually these are nowadays found by automated 
build test, but for some reason not that one...


On 11/23/2015 09:19 PM, Matthias Schwarzott wrote:
> Without I get this error for by dvb-card:
>    tda10071: Unknown symbol devm_regmap_init_i2c (err 0)
>    cx23885_dvb_register() dvb_register failed err = -22
>    cx23885_dev_setup() Failed to register dvb adapters on VID_B
>
> Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>

Reviewed-by: Antti Palosaari <crope@iki.fi>


> ---
>   drivers/media/dvb-frontends/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/dvb-frontends/Kconfig b/drivers/media/dvb-frontends/Kconfig
> index 292c947..310e4b8 100644
> --- a/drivers/media/dvb-frontends/Kconfig
> +++ b/drivers/media/dvb-frontends/Kconfig
> @@ -264,7 +264,7 @@ config DVB_MB86A16
>   config DVB_TDA10071
>   	tristate "NXP TDA10071"
>   	depends on DVB_CORE && I2C
> -	select REGMAP
> +	select REGMAP_I2C
>   	default m if !MEDIA_SUBDRV_AUTOSELECT
>   	help
>   	  Say Y when you want to support this frontend.
>
diff mbox

Patch

diff --git a/drivers/media/dvb-frontends/Kconfig b/drivers/media/dvb-frontends/Kconfig
index 292c947..310e4b8 100644
--- a/drivers/media/dvb-frontends/Kconfig
+++ b/drivers/media/dvb-frontends/Kconfig
@@ -264,7 +264,7 @@  config DVB_MB86A16
 config DVB_TDA10071
 	tristate "NXP TDA10071"
 	depends on DVB_CORE && I2C
-	select REGMAP
+	select REGMAP_I2C
 	default m if !MEDIA_SUBDRV_AUTOSELECT
 	help
 	  Say Y when you want to support this frontend.