[media] drivers: media: radio: Fix dependencies for RADIO_WL128X
authorFabio Estevam <festevam@gmail.com>
Wed, 4 Jan 2012 02:42:04 +0000 (23:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jan 2012 15:17:50 +0000 (13:17 -0200)
Fix the following build warning:

warning: (RADIO_WL128X) selects TI_ST which has unmet direct dependencies (MISC_DEVICES && NET && GPIOLIB)

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/wl128x/Kconfig

index 749f67b..86b2857 100644 (file)
@@ -5,7 +5,7 @@ menu "Texas Instruments WL128x FM driver (ST based)"
 config RADIO_WL128X
        tristate "Texas Instruments WL128x FM Radio"
        depends on VIDEO_V4L2 && RFKILL
-       select TI_ST
+       select TI_ST if NET && GPIOLIB
        help
        Choose Y here if you have this FM radio chip.