counter: intel-qep: Depend on X86
authorPeter Robinson <pbrobinson@gmail.com>
Sun, 8 Jan 2023 07:47:48 +0000 (07:47 +0000)
committerWilliam Breathitt Gray <william.gray@linaro.org>
Fri, 13 Jan 2023 20:05:23 +0000 (15:05 -0500)
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>
drivers/counter/Kconfig

index 508d857..011e6af 100644 (file)
@@ -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