diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-12-27 19:18:10 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-12-27 19:18:10 -0500 |
commit | bd4b9ba4cf9338932a065cd752fb5f28b26e4e39 (patch) | |
tree | 88725708d3f2696f1c2373cf62d0b997c207e861 /include | |
parent | e814fb635cd269532a6a95a921c05841ababa7ae (diff) | |
parent | 8a44930a11de8d66f92145fd2d2464ab4fba696b (diff) |
Merge branch 'samsung/cleanup' into next/drivers
Dependency for the samsung/drivers branch
Conflicts:
arch/arm/mach-exynos/Makefile
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
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_ */ |