diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/amba/pl330.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/include/linux/amba/pl330.h b/include/linux/amba/pl330.h index d12f077a6daf..12e023c19ac1 100644 --- a/include/linux/amba/pl330.h +++ b/include/linux/amba/pl330.h | |||
| @@ -12,17 +12,9 @@ | |||
| 12 | #ifndef __AMBA_PL330_H_ | 12 | #ifndef __AMBA_PL330_H_ |
| 13 | #define __AMBA_PL330_H_ | 13 | #define __AMBA_PL330_H_ |
| 14 | 14 | ||
| 15 | #include <linux/dmaengine.h> | ||
| 15 | #include <asm/hardware/pl330.h> | 16 | #include <asm/hardware/pl330.h> |
| 16 | 17 | ||
| 17 | struct dma_pl330_peri { | ||
| 18 | /* | ||
| 19 | * Peri_Req i/f of the DMAC that is | ||
| 20 | * peripheral could be reached from. | ||
| 21 | */ | ||
| 22 | u8 peri_id; /* specific dma id */ | ||
| 23 | enum pl330_reqtype rqtype; | ||
| 24 | }; | ||
| 25 | |||
| 26 | struct dma_pl330_platdata { | 18 | struct dma_pl330_platdata { |
| 27 | /* | 19 | /* |
| 28 | * Number of valid peripherals connected to DMAC. | 20 | * Number of valid peripherals connected to DMAC. |
| @@ -33,9 +25,12 @@ struct dma_pl330_platdata { | |||
| 33 | */ | 25 | */ |
| 34 | u8 nr_valid_peri; | 26 | u8 nr_valid_peri; |
| 35 | /* Array of valid peripherals */ | 27 | /* Array of valid peripherals */ |
| 36 | struct dma_pl330_peri *peri; | 28 | u8 *peri_id; |
| 29 | /* Operational capabilities */ | ||
| 30 | dma_cap_mask_t cap_mask; | ||
| 37 | /* Bytes to allocate for MC buffer */ | 31 | /* Bytes to allocate for MC buffer */ |
| 38 | unsigned mcbuf_sz; | 32 | unsigned mcbuf_sz; |
| 39 | }; | 33 | }; |
| 40 | 34 | ||
| 35 | extern bool pl330_filter(struct dma_chan *chan, void *param); | ||
| 41 | #endif /* __AMBA_PL330_H_ */ | 36 | #endif /* __AMBA_PL330_H_ */ |
