Przeglądaj źródła

intel_th: Depend on HAS_IOMEM

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>
Alexander Shishkin 9 lat temu
rodzic
commit
993c7f1119
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      drivers/hwtracing/intel_th/Kconfig

+ 1 - 1
drivers/hwtracing/intel_th/Kconfig

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