diff mbox series

[1/3] hid: intel-ish-hid: Set ISH driver depends on x86

Message ID 1623306114-19208-2-git-send-email-even.xu@intel.com (mailing list archive)
State New
Delegated to: Jiri Kosina
Headers show
Series enable ISH DMA on EHL platform | expand

Commit Message

Xu, Even June 10, 2021, 6:21 a.m. UTC
During ISH DMA enabling, some platforms (such as EHL) don't
support cache snooping, driver needs involve clflush_cache_range
API which isn't supported by all archs (such as ARM).

Considering ISH only exists on Intel platforms, add the dependence
in Kconfig to avoid build warnings or errors on other archs.

Acked-by: Pandruvada, Srinivas <srinivas.pandruvada@intel.com>
Signed-off-by: Even Xu <even.xu@intel.com>
 drivers/hid/intel-ish-hid/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series


diff --git a/drivers/hid/intel-ish-hid/Kconfig b/drivers/hid/intel-ish-hid/Kconfig
index c6c9cfe2..689da84 100644
--- a/drivers/hid/intel-ish-hid/Kconfig
+++ b/drivers/hid/intel-ish-hid/Kconfig
@@ -5,6 +5,7 @@  menu "Intel ISH HID support"
 	tristate "Intel Integrated Sensor Hub"
 	default n
+	depends on X86
 	select HID
 	  The Integrated Sensor Hub (ISH) enables the ability to offload