summaryrefslogtreecommitdiffstats
path: root/drivers/counter
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2023-01-08 08:47:48 +0100
committerWilliam Breathitt Gray <william.gray@linaro.org>2023-01-13 21:05:23 +0100
commit92a3337081e55eee0491b2a0255a45e7f583fff6 (patch)
tree8a5f3ffcfab6d0fe8a429b56348d43224f015120 /drivers/counter
parentcounter: Sort the Kconfig entries alphabetically (diff)
downloadlinux-92a3337081e55eee0491b2a0255a45e7f583fff6.tar.xz
linux-92a3337081e55eee0491b2a0255a45e7f583fff6.zip
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