]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ASoC: omap: sdma-pcm: Correction for the include files
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 15 May 2018 06:43:35 +0000 (09:43 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 17 May 2018 04:28:58 +0000 (13:28 +0900)
The sdma-pcm does not need any information from omap-dma.h, it only needs
to include the omap-dmaengine.h - for the omap_dma_filter_fn, but that
might not be needed at all as OMAP1 was converted to dma_slave_map, but
I can not test OMAP1.

Add the linux/device.h include as well for devm_kzalloc()

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/omap/sdma-pcm.c

index 3e52ccb2ae26ce9e8290bab4087db669abe95285..21a9c2499d4865ec4b7816504d877194f08768db 100644 (file)
@@ -4,13 +4,14 @@
  *  Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
  */
 
+#include <linux/device.h>
 #include <linux/module.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>
 #include <sound/soc.h>
 #include <sound/dmaengine_pcm.h>
-#include <linux/omap-dma.h>
+#include <linux/omap-dmaengine.h>
 
 #include "sdma-pcm.h"