irqchip/ts4800: Add hardware dependency
authorJean Delvare <jdelvare@suse.de>
Tue, 9 Feb 2016 10:19:20 +0000 (11:19 +0100)
committerJason Cooper <jason@lakedaemon.net>
Thu, 18 Feb 2016 01:42:22 +0000 (01:42 +0000)
The Technologic Systems TS-4800 is an i.MX515 board, so its drivers
are useless unless building a SOC_IMX51 kernel, except for build
testing purposes.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Damien Riegel <damien.riegel@savoirfairelinux.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/20160209111920.1ec318bd@endymion
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/Kconfig

index 8115a32a553c785ddd3cba4d55f83bd32d27f6ef..72e5a842cdae0a82b4a820dde6eb0b59904b87a3 100644 (file)
@@ -165,6 +165,7 @@ config TS4800_IRQ
        tristate "TS-4800 IRQ controller"
        select IRQ_DOMAIN
        depends on HAS_IOMEM
+       depends on SOC_IMX51 || COMPILE_TEST
        help
          Support for the TS-4800 FPGA IRQ controller