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)
commit58757984ca3c73284a45dd53ac66f1414057cd09
treea0eff49b9ae2a25f699fcda13618796a4f013d8d
parent84fc727ed49ca2e940f2369ffde6e2c317d85335
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