* [PATCH] intel_th: INTEL_TH should depend on HAS_DMA
@ 2015-11-09 9:36 Geert Uytterhoeven
2015-11-09 10:10 ` Alexander Shishkin
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2015-11-09 9:36 UTC (permalink / raw)
To: Alexander Shishkin; +Cc: linux-kernel, Geert Uytterhoeven
If NO_DMA=y:
ERROR: "dma_free_coherent" [drivers/hwtracing/intel_th/intel_th_msu.ko] undefined!
ERROR: "dma_alloc_coherent" [drivers/hwtracing/intel_th/intel_th_msu.ko] undefined!
ERROR: "dma_supported" [drivers/hwtracing/intel_th/intel_th.ko] undefined!
Add a dependency on HAS_DMA to fix this.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
drivers/hwtracing/intel_th/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwtracing/intel_th/Kconfig b/drivers/hwtracing/intel_th/Kconfig
index b7a9073d968b57bd..90b08440938bbf72 100644
--- a/drivers/hwtracing/intel_th/Kconfig
+++ b/drivers/hwtracing/intel_th/Kconfig
@@ -1,5 +1,6 @@
config INTEL_TH
tristate "Intel(R) Trace Hub controller"
+ depends on HAS_DMA
help
Intel(R) Trace Hub (TH) is a set of hardware blocks (subdevices) that
produce, switch and output trace data from multiple hardware and
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] intel_th: INTEL_TH should depend on HAS_DMA
2015-11-09 9:36 [PATCH] intel_th: INTEL_TH should depend on HAS_DMA Geert Uytterhoeven
@ 2015-11-09 10:10 ` Alexander Shishkin
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Shishkin @ 2015-11-09 10:10 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: linux-kernel, Geert Uytterhoeven
Geert Uytterhoeven <geert@linux-m68k.org> writes:
> If NO_DMA=y:
>
> ERROR: "dma_free_coherent" [drivers/hwtracing/intel_th/intel_th_msu.ko] undefined!
> ERROR: "dma_alloc_coherent" [drivers/hwtracing/intel_th/intel_th_msu.ko] undefined!
> ERROR: "dma_supported" [drivers/hwtracing/intel_th/intel_th.ko] undefined!
>
> Add a dependency on HAS_DMA to fix this.
>
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Thank you!
Regards,
--
Alex
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-09 10:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-09 9:36 [PATCH] intel_th: INTEL_TH should depend on HAS_DMA Geert Uytterhoeven
2015-11-09 10:10 ` Alexander Shishkin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox