Skip to content

Commit 550ec36

Browse files
author
Russell King
committed
dmaengine: PL08x: constify channel names and bus_id strings
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>
1 parent b23f204 commit 550ec36

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/dma/amba-pl08x.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ struct pl08x_dma_chan {
237237
struct pl08x_phy_chan *phychan;
238238
int phychan_hold;
239239
struct tasklet_struct tasklet;
240-
char *name;
240+
const char *name;
241241
const struct pl08x_channel_data *cd;
242242
dma_addr_t src_addr;
243243
dma_addr_t dst_addr;

‎include/linux/amba/pl08x.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ enum {
5858
* these buses (use PL08X_AHB1 | PL08X_AHB2).
5959
*/
6060
struct pl08x_channel_data {
61-
char *bus_id;
61+
const char *bus_id;
6262
int min_signal;
6363
int max_signal;
6464
u32 muxval;

0 commit comments

Comments
 (0)