HID: intel_ish-hid: enable compile testing
authorArnd Bergmann <arnd@arndb.de>
Thu, 18 May 2017 20:21:44 +0000 (22:21 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 30 May 2017 12:11:52 +0000 (14:11 +0200)
To increase build coverage, drivers should generally be allowed to
build on other architectures even if they are only used on one
of them.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/intel-ish-hid/Kconfig

index ea065b3684a208695b1566986eef091a1b9ec1bc..519e4c8b53c4fefef0941ca1a77809bb819973e9 100644 (file)
@@ -1,5 +1,5 @@
 menu "Intel ISH HID support"
-       depends on X86_64 && PCI
+       depends on (X86_64 || COMPILE_TEST) && PCI
 
 config INTEL_ISH_HID
        tristate "Intel Integrated Sensor Hub"