diff options
| author | Marek Szyprowski <m.szyprowski@samsung.com> | 2017-03-27 01:31:03 -0400 |
|---|---|---|
| committer | Vinod Koul <vinod.koul@intel.com> | 2017-03-28 12:07:48 -0400 |
| commit | e8bb4673596ea28fab287dbc417e8100d798cd40 (patch) | |
| tree | d7eb031883d61b44e105a13ea51a5b95dcc06617 /include/linux/amba | |
| parent | c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff) | |
dmaengine: pl330: remove pdata based initialization
This driver is now used only on platforms which support device tree, so
it is safe to remove legacy platform data based initialization code.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
For plat-samsung:
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/linux/amba')
| -rw-r--r-- | include/linux/amba/pl330.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/include/linux/amba/pl330.h b/include/linux/amba/pl330.h deleted file mode 100644 index fe93758e8403..000000000000 --- a/include/linux/amba/pl330.h +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | /* linux/include/linux/amba/pl330.h | ||
| 2 | * | ||
| 3 | * Copyright (C) 2010 Samsung Electronics Co. Ltd. | ||
| 4 | * Jaswinder Singh <jassi.brar@samsung.com> | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | */ | ||
| 11 | |||
| 12 | #ifndef __AMBA_PL330_H_ | ||
| 13 | #define __AMBA_PL330_H_ | ||
| 14 | |||
| 15 | #include <linux/dmaengine.h> | ||
| 16 | |||
| 17 | struct dma_pl330_platdata { | ||
| 18 | /* | ||
| 19 | * Number of valid peripherals connected to DMAC. | ||
| 20 | * This may be different from the value read from | ||
| 21 | * CR0, as the PL330 implementation might have 'holes' | ||
| 22 | * in the peri list or the peri could also be reached | ||
| 23 | * from another DMAC which the platform prefers. | ||
| 24 | */ | ||
| 25 | u8 nr_valid_peri; | ||
| 26 | /* Array of valid peripherals */ | ||
| 27 | u8 *peri_id; | ||
| 28 | /* Operational capabilities */ | ||
| 29 | dma_cap_mask_t cap_mask; | ||
| 30 | /* Bytes to allocate for MC buffer */ | ||
| 31 | unsigned mcbuf_sz; | ||
| 32 | }; | ||
| 33 | |||
| 34 | extern bool pl330_filter(struct dma_chan *chan, void *param); | ||
| 35 | #endif /* __AMBA_PL330_H_ */ | ||
