Skip to content

Commit 6bd0dff

Browse files
andy-shevvinodkoul
authored andcommitted
dmaengine: dw: Don't include unneeded header to platform data header
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 6f9e40d commit 6bd0dff

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

include/linux/platform_data/dma-dw.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@
88
#ifndef _PLATFORM_DATA_DMA_DW_H
99
#define _PLATFORM_DATA_DMA_DW_H
1010

11-
#include <linux/device.h>
11+
#include <linux/bits.h>
12+
#include <linux/types.h>
1213

1314
#define DW_DMA_MAX_NR_MASTERS 4
1415
#define DW_DMA_MAX_NR_CHANNELS 8
1516
#define DW_DMA_MIN_BURST 1
1617
#define DW_DMA_MAX_BURST 256
1718

19+
struct device;
20+
1821
/**
1922
* struct dw_dma_slave - Controller-specific information about a slave
2023
*

0 commit comments

Comments
 (0)