提交 550ec36f 编写于 作者: R Russell King

dmaengine: PL08x: constify channel names and bus_id strings

Acked-by: NLinus Walleij <linus.walleij@linaro.org>
Tested-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 b23f204c
...@@ -237,7 +237,7 @@ struct pl08x_dma_chan { ...@@ -237,7 +237,7 @@ struct pl08x_dma_chan {
struct pl08x_phy_chan *phychan; struct pl08x_phy_chan *phychan;
int phychan_hold; int phychan_hold;
struct tasklet_struct tasklet; struct tasklet_struct tasklet;
char *name; const char *name;
const struct pl08x_channel_data *cd; const struct pl08x_channel_data *cd;
dma_addr_t src_addr; dma_addr_t src_addr;
dma_addr_t dst_addr; dma_addr_t dst_addr;
......
...@@ -58,7 +58,7 @@ enum { ...@@ -58,7 +58,7 @@ enum {
* these buses (use PL08X_AHB1 | PL08X_AHB2). * these buses (use PL08X_AHB1 | PL08X_AHB2).
*/ */
struct pl08x_channel_data { struct pl08x_channel_data {
char *bus_id; const char *bus_id;
int min_signal; int min_signal;
int max_signal; int max_signal;
u32 muxval; u32 muxval;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册