summaryrefslogtreecommitdiff
path: root/drivers/counter
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2023-01-08 07:47:48 +0000
committerWilliam Breathitt Gray <william.gray@linaro.org>2023-01-13 15:05:23 -0500
commit92a3337081e55eee0491b2a0255a45e7f583fff6 (patch)
tree8a5f3ffcfab6d0fe8a429b56348d43224f015120 /drivers/counter
parent9c5e51f2b01edc5b3057044d15eb0f57be2cd449 (diff)
counter: intel-qep: Depend on X86
Limit the Intel counter driver to X86, it doesn't make sense to build it for all arches if the counter subsystem is enabled. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Link: https://lore.kernel.org/r/20230108074750.443705-2-pbrobinson@gmail.com/ Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Diffstat (limited to 'drivers/counter')
-rw-r--r--drivers/counter/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig
index 508d857808e9..011e6af840fc 100644
--- a/drivers/counter/Kconfig
+++ b/drivers/counter/Kconfig
@@ -41,6 +41,7 @@ config FTM_QUADDEC
config INTEL_QEP
tristate "Intel Quadrature Encoder Peripheral driver"
+ depends on X86
depends on PCI
help
Select this option to enable the Intel Quadrature Encoder Peripheral