irda: sh_irda: Enable driver compilation with COMPILE_TEST
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 12 May 2014 23:04:36 +0000 (01:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 May 2014 19:23:55 +0000 (15:23 -0400)
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>
drivers/net/irda/Kconfig

index 3da44d5d91497801a141b373c60f8cd5890a1bf9..8d101d63abca9a48466edfed2db11ab54df32d63 100644 (file)
@@ -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.