Re: [PATCH] intel_th: INTEL_TH should depend on HAS_DMA

From: Alexander Shishkin
Date: Mon Nov 09 2015 - 05:10:52 EST


Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx>

Thank you!

Regards,
--
Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/