]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
dmaengine: dw: Don't include unneeded header to platform data header
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 21 Jul 2020 13:08:44 +0000 (16:08 +0300)
committerVinod Koul <vkoul@kernel.org>
Mon, 27 Jul 2020 09:15:57 +0000 (14:45 +0530)
Including device.h is too much for the dma-dw.h platform data header.
Replace it with the headers of which dma-dw.h is direct user.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200721130844.64162-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
include/linux/platform_data/dma-dw.h

index 4f681df85c273c8a26c893137144b13d1de527a4..fbbeb2f6189b8b73a2b3f402fc8eb9d797cf028d 100644 (file)
@@ -8,13 +8,16 @@
 #ifndef _PLATFORM_DATA_DMA_DW_H
 #define _PLATFORM_DATA_DMA_DW_H
 
-#include <linux/device.h>
+#include <linux/bits.h>
+#include <linux/types.h>
 
 #define DW_DMA_MAX_NR_MASTERS  4
 #define DW_DMA_MAX_NR_CHANNELS 8
 #define DW_DMA_MIN_BURST       1
 #define DW_DMA_MAX_BURST       256
 
+struct device;
+
 /**
  * struct dw_dma_slave - Controller-specific information about a slave
  *