]> git.baikalelectronics.ru Git - kernel.git/commit
media: si470x: allow build both USB and I2C at the same time
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 5 Apr 2018 19:08:12 +0000 (15:08 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 17 Apr 2018 09:16:37 +0000 (05:16 -0400)
commit694782e4d3f3b18dabbe3f9204f2cb17ce9675fe
treea0eff49b9ae2a25f699fcda13618796a4f013d8d
parentc0880888e7627ded281e12d36f8dd81ed8de9a7f
media: si470x: allow build both USB and I2C at the same time

Currently, either USB or I2C is built. Change it to allow
having both enabled at the same time.

The main reason is that COMPILE_TEST all[yes/mod]builds will
now contain all drivers under drivers/media.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/radio/Kconfig
drivers/media/radio/si470x/Kconfig
drivers/media/radio/si470x/Makefile
drivers/media/radio/si470x/radio-si470x-common.c
drivers/media/radio/si470x/radio-si470x-i2c.c
drivers/media/radio/si470x/radio-si470x-usb.c
drivers/media/radio/si470x/radio-si470x.h