Skip to content

Commit

Permalink
dmaengine: PL08x: constify channel names and bus_id strings
Browse files Browse the repository at this point in the history
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King committed Jul 1, 2012
1 parent b23f204 commit 550ec36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/dma/amba-pl08x.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ struct pl08x_dma_chan {
struct pl08x_phy_chan *phychan;
int phychan_hold;
struct tasklet_struct tasklet;
char *name;
const char *name;
const struct pl08x_channel_data *cd;
dma_addr_t src_addr;
dma_addr_t dst_addr;
Expand Down
2 changes: 1 addition & 1 deletion include/linux/amba/pl08x.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ enum {
* these buses (use PL08X_AHB1 | PL08X_AHB2).
*/
struct pl08x_channel_data {
char *bus_id;
const char *bus_id;
int min_signal;
int max_signal;
u32 muxval;
Expand Down

0 comments on commit 550ec36

Please sign in to comment.