Commit 258c524b authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Mauro Carvalho Chehab

media: radio: allow building ISA drivers with COMPILE_TEST

Several radio devices only build on i386, because they depend
on ISA. Allow them to build on other archs by adding a
COMPILE_TEST check.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 25d4affb
...@@ -231,7 +231,7 @@ source "drivers/media/radio/wl128x/Kconfig" ...@@ -231,7 +231,7 @@ source "drivers/media/radio/wl128x/Kconfig"
menuconfig V4L_RADIO_ISA_DRIVERS menuconfig V4L_RADIO_ISA_DRIVERS
bool "ISA radio devices" bool "ISA radio devices"
depends on ISA depends on ISA || COMPILE_TEST
default n default n
---help--- ---help---
Say Y here to enable support for these ISA drivers. Say Y here to enable support for these ISA drivers.
...@@ -239,12 +239,13 @@ menuconfig V4L_RADIO_ISA_DRIVERS ...@@ -239,12 +239,13 @@ menuconfig V4L_RADIO_ISA_DRIVERS
if V4L_RADIO_ISA_DRIVERS if V4L_RADIO_ISA_DRIVERS
config RADIO_ISA config RADIO_ISA
depends on ISA depends on ISA || COMPILE_TEST
tristate tristate
config RADIO_CADET config RADIO_CADET
tristate "ADS Cadet AM/FM Tuner" tristate "ADS Cadet AM/FM Tuner"
depends on ISA && VIDEO_V4L2 depends on ISA || COMPILE_TEST
depends on VIDEO_V4L2
---help--- ---help---
Choose Y here if you have one of these AM/FM radio cards, and then Choose Y here if you have one of these AM/FM radio cards, and then
fill in the port address below. fill in the port address below.
...@@ -254,8 +255,8 @@ config RADIO_CADET ...@@ -254,8 +255,8 @@ config RADIO_CADET
config RADIO_RTRACK config RADIO_RTRACK
tristate "AIMSlab RadioTrack (aka RadioReveal) support" tristate "AIMSlab RadioTrack (aka RadioReveal) support"
depends on ISA && VIDEO_V4L2 depends on ISA || COMPILE_TEST
select RADIO_ISA depends on VIDEO_V4L2
---help--- ---help---
Choose Y here if you have one of these FM radio cards, and then fill Choose Y here if you have one of these FM radio cards, and then fill
in the port address below. in the port address below.
...@@ -285,7 +286,8 @@ config RADIO_RTRACK_PORT ...@@ -285,7 +286,8 @@ config RADIO_RTRACK_PORT
config RADIO_RTRACK2 config RADIO_RTRACK2
tristate "AIMSlab RadioTrack II support" tristate "AIMSlab RadioTrack II support"
depends on ISA && VIDEO_V4L2 depends on ISA || COMPILE_TEST
depends on VIDEO_V4L2
select RADIO_ISA select RADIO_ISA
---help--- ---help---
Choose Y here if you have this FM radio card, and then fill in the Choose Y here if you have this FM radio card, and then fill in the
...@@ -308,7 +310,8 @@ config RADIO_RTRACK2_PORT ...@@ -308,7 +310,8 @@ config RADIO_RTRACK2_PORT
config RADIO_AZTECH config RADIO_AZTECH
tristate "Aztech/Packard Bell Radio" tristate "Aztech/Packard Bell Radio"
depends on ISA && VIDEO_V4L2 depends on ISA || COMPILE_TEST
depends on VIDEO_V4L2
select RADIO_ISA select RADIO_ISA
---help--- ---help---
Choose Y here if you have one of these FM radio cards, and then fill Choose Y here if you have one of these FM radio cards, and then fill
...@@ -328,7 +331,8 @@ config RADIO_AZTECH_PORT ...@@ -328,7 +331,8 @@ config RADIO_AZTECH_PORT
config RADIO_GEMTEK config RADIO_GEMTEK
tristate "GemTek Radio card (or compatible) support" tristate "GemTek Radio card (or compatible) support"
depends on ISA && VIDEO_V4L2 depends on ISA || COMPILE_TEST
depends on VIDEO_V4L2
select RADIO_ISA select RADIO_ISA
---help--- ---help---
Choose Y here if you have this FM radio card, and then fill in the Choose Y here if you have this FM radio card, and then fill in the
...@@ -383,7 +387,8 @@ config RADIO_MIROPCM20 ...@@ -383,7 +387,8 @@ config RADIO_MIROPCM20
config RADIO_SF16FMI config RADIO_SF16FMI
tristate "SF16-FMI/SF16-FMP/SF16-FMD Radio" tristate "SF16-FMI/SF16-FMP/SF16-FMD Radio"
depends on ISA && VIDEO_V4L2 depends on ISA || COMPILE_TEST
depends on VIDEO_V4L2
---help--- ---help---
Choose Y here if you have one of these FM radio cards. Choose Y here if you have one of these FM radio cards.
...@@ -392,7 +397,8 @@ config RADIO_SF16FMI ...@@ -392,7 +397,8 @@ config RADIO_SF16FMI
config RADIO_SF16FMR2 config RADIO_SF16FMR2
tristate "SF16-FMR2/SF16-FMD2 Radio" tristate "SF16-FMR2/SF16-FMD2 Radio"
depends on ISA && VIDEO_V4L2 depends on ISA || COMPILE_TEST
depends on VIDEO_V4L2
select RADIO_TEA575X select RADIO_TEA575X
---help--- ---help---
Choose Y here if you have one of these FM radio cards. Choose Y here if you have one of these FM radio cards.
...@@ -402,7 +408,8 @@ config RADIO_SF16FMR2 ...@@ -402,7 +408,8 @@ config RADIO_SF16FMR2
config RADIO_TERRATEC config RADIO_TERRATEC
tristate "TerraTec ActiveRadio ISA Standalone" tristate "TerraTec ActiveRadio ISA Standalone"
depends on ISA && VIDEO_V4L2 depends on ISA || COMPILE_TEST
depends on VIDEO_V4L2
select RADIO_ISA select RADIO_ISA
---help--- ---help---
Choose Y here if you have this FM radio card. Choose Y here if you have this FM radio card.
...@@ -416,7 +423,8 @@ config RADIO_TERRATEC ...@@ -416,7 +423,8 @@ config RADIO_TERRATEC
config RADIO_TRUST config RADIO_TRUST
tristate "Trust FM radio card" tristate "Trust FM radio card"
depends on ISA && VIDEO_V4L2 depends on ISA || COMPILE_TEST
depends on VIDEO_V4L2
select RADIO_ISA select RADIO_ISA
help help
This is a driver for the Trust FM radio cards. Say Y if you have This is a driver for the Trust FM radio cards. Say Y if you have
...@@ -439,7 +447,8 @@ config RADIO_TRUST_PORT ...@@ -439,7 +447,8 @@ config RADIO_TRUST_PORT
config RADIO_TYPHOON config RADIO_TYPHOON
tristate "Typhoon Radio (a.k.a. EcoRadio)" tristate "Typhoon Radio (a.k.a. EcoRadio)"
depends on ISA && VIDEO_V4L2 depends on ISA || COMPILE_TEST
depends on VIDEO_V4L2
select RADIO_ISA select RADIO_ISA
---help--- ---help---
Choose Y here if you have one of these FM radio cards, and then fill Choose Y here if you have one of these FM radio cards, and then fill
...@@ -473,7 +482,8 @@ config RADIO_TYPHOON_MUTEFREQ ...@@ -473,7 +482,8 @@ config RADIO_TYPHOON_MUTEFREQ
config RADIO_ZOLTRIX config RADIO_ZOLTRIX
tristate "Zoltrix Radio" tristate "Zoltrix Radio"
depends on ISA && VIDEO_V4L2 depends on ISA || COMPILE_TEST
depends on VIDEO_V4L2
select RADIO_ISA select RADIO_ISA
---help--- ---help---
Choose Y here if you have one of these FM radio cards, and then fill Choose Y here if you have one of these FM radio cards, and then fill
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment