intel_th: Depend on HAS_IOMEM
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Mon, 15 Feb 2016 17:11:53 +0000 (19:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:09:14 +0000 (14:09 -0800)
This driver requires io memory to operate, so don't even consider it
for NO_IOMEM architectures.

Reported-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/intel_th/Kconfig

index 90b0844..1b412f8 100644 (file)
@@ -1,6 +1,6 @@
 config INTEL_TH
        tristate "Intel(R) Trace Hub controller"
-       depends on HAS_DMA
+       depends on HAS_DMA && HAS_IOMEM
        help
          Intel(R) Trace Hub (TH) is a set of hardware blocks (subdevices) that
          produce, switch and output trace data from multiple hardware and