diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-08-23 12:27:12 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-08-28 11:41:08 -0400 |
commit | b80fa1217c3c2ad634e3d92ae8bfc6d442ffaeae (patch) | |
tree | 315285e7a455ee93308654530bbfc3bd734feeea | |
parent | 5e857047ba1e748002088bf44b6b0873664d9567 (diff) |
dmaengine: pl08x: constify amba_id
amba_id are not supposed to change at runtime. All functions
working with const amba_id. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r-- | drivers/dma/amba-pl08x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c index 13cc95c0474c..b52b0d55247e 100644 --- a/drivers/dma/amba-pl08x.c +++ b/drivers/dma/amba-pl08x.c | |||
@@ -3033,7 +3033,7 @@ static struct vendor_data vendor_ftdmac020 = { | |||
3033 | .max_transfer_size = PL080_CONTROL_TRANSFER_SIZE_MASK, | 3033 | .max_transfer_size = PL080_CONTROL_TRANSFER_SIZE_MASK, |
3034 | }; | 3034 | }; |
3035 | 3035 | ||
3036 | static struct amba_id pl08x_ids[] = { | 3036 | static const struct amba_id pl08x_ids[] = { |
3037 | /* Samsung PL080S variant */ | 3037 | /* Samsung PL080S variant */ |
3038 | { | 3038 | { |
3039 | .id = 0x0a141080, | 3039 | .id = 0x0a141080, |