summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-05-13 03:04:36 +0400
committerDavid S. Miller <davem@davemloft.net>2014-05-14 23:23:55 +0400
commit9cc5e36d1c4794939deafd9f43bce2eab9c1142d (patch)
treeb093733da557182ea8b0a81edb4dec60967f9914
parentd6cc76d3898b8295418c772298a53489d9494b71 (diff)
downloadlinux-9cc5e36d1c4794939deafd9f43bce2eab9c1142d.tar.xz
irda: sh_irda: Enable driver compilation with COMPILE_TEST
This helps increasing build testing coverage. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/irda/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/irda/Kconfig b/drivers/net/irda/Kconfig
index 3da44d5d9149..8d101d63abca 100644
--- a/drivers/net/irda/Kconfig
+++ b/drivers/net/irda/Kconfig
@@ -396,7 +396,8 @@ config MCS_FIR
config SH_IRDA
tristate "SuperH IrDA driver"
- depends on IRDA && ARCH_SHMOBILE
+ depends on IRDA
+ depends on ARCH_SHMOBILE || COMPILE_TEST
help
Say Y here if your want to enable SuperH IrDA devices.