media: rc: allow build pnp-dependent drivers with COMPILE_TEST
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 20 Apr 2018 17:42:49 +0000 (13:42 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 13:47:45 +0000 (09:47 -0400)
The pnp header already provide enough stub to build those
drivers with COMPILE_TEST on non-x86 archs.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Acked-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/rc/Kconfig

index eb2c3b6eca7fdc3ad75a5bc0ca3d6f44f3d96605..9a3b66c6700c8f088f27292826f77739fee315ce 100644 (file)
@@ -149,7 +149,7 @@ config RC_ATI_REMOTE
 
 config IR_ENE
        tristate "ENE eHome Receiver/Transceiver (pnp id: ENE0100/ENE02xxx)"
-       depends on PNP
+       depends on PNP || COMPILE_TEST
        depends on RC_CORE
        ---help---
           Say Y here to enable support for integrated infrared receiver
@@ -210,7 +210,7 @@ config IR_MCEUSB
 
 config IR_ITE_CIR
        tristate "ITE Tech Inc. IT8712/IT8512 Consumer Infrared Transceiver"
-       depends on PNP
+       depends on PNP || COMPILE_TEST
        depends on RC_CORE
        ---help---
           Say Y here to enable support for integrated infrared receivers
@@ -223,7 +223,7 @@ config IR_ITE_CIR
 
 config IR_FINTEK
        tristate "Fintek Consumer Infrared Transceiver"
-       depends on PNP
+       depends on PNP || COMPILE_TEST
        depends on RC_CORE
        ---help---
           Say Y here to enable support for integrated infrared receiver
@@ -257,7 +257,7 @@ config IR_MTK
 
 config IR_NUVOTON
        tristate "Nuvoton w836x7hg Consumer Infrared Transceiver"
-       depends on PNP
+       depends on PNP || COMPILE_TEST
        depends on RC_CORE
        ---help---
           Say Y here to enable support for integrated infrared receiver
@@ -305,7 +305,7 @@ config IR_STREAMZAP
 
 config IR_WINBOND_CIR
        tristate "Winbond IR remote control"
-       depends on X86 && PNP
+       depends on (X86 && PNP) || COMPILE_TEST
        depends on RC_CORE
        select NEW_LEDS
        select LEDS_CLASS