[git:media_tree/master] media: Kconfig: fix DVB dependencies

2018-03-08 Thread Mauro Carvalho Chehab
This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: Kconfig: fix DVB dependencies
Author:  Mauro Carvalho Chehab 
Date:Wed Mar 7 09:51:17 2018 -0500

If I2C is present and it is module, the DVB core should also
be a module, otherwise build will now fail with:

  drivers/media/dvb-core/dvbdev.o: In function `dvb_module_probe':
 drivers/media/dvb-core/dvbdev.c:965: undefined reference to 
`i2c_new_device'
 drivers/media/dvb-core/dvbdev.c:972: undefined reference to 
`i2c_unregister_device'

Reported-by: kbuild test robot 
Signed-off-by: Mauro Carvalho Chehab 

 drivers/media/Kconfig | 1 +
 1 file changed, 1 insertion(+)

---

diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 372c074bb1b9..29609661cf3d 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -141,6 +141,7 @@ config DVB_CORE
tristate
depends on MEDIA_SUPPORT
depends on MEDIA_DIGITAL_TV_SUPPORT
+   depends on (I2C || I2C=n)
default y
select CRC32
 

___
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

[git:media_tree/master] media: Kconfig: fix DVB dependencies

2018-03-07 Thread Mauro Carvalho Chehab
This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: Kconfig: fix DVB dependencies
Author:  Mauro Carvalho Chehab 
Date:Wed Mar 7 09:51:17 2018 -0500

If I2C is present and it is module, the DVB core should also
be a module, otherwise build will now fail with:

  drivers/media/dvb-core/dvbdev.o: In function `dvb_module_probe':
 drivers/media/dvb-core/dvbdev.c:965: undefined reference to 
`i2c_new_device'
 drivers/media/dvb-core/dvbdev.c:972: undefined reference to 
`i2c_unregister_device'

Reported-by: kbuild test robot 
Signed-off-by: Mauro Carvalho Chehab 

 drivers/media/Kconfig | 1 +
 1 file changed, 1 insertion(+)

---

diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 372c074bb1b9..29609661cf3d 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -141,6 +141,7 @@ config DVB_CORE
tristate
depends on MEDIA_SUPPORT
depends on MEDIA_DIGITAL_TV_SUPPORT
+   depends on (I2C || I2C=n)
default y
select CRC32
 

___
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits