diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-07-25 11:34:37 -0400 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2011-10-04 16:08:18 -0400 |
commit | a1330228f9eec7e355d41f45c17e1297d681f40d (patch) | |
tree | 42b358fb23fb4593691734300d7c98771fad39ca /drivers/clocksource/dw_apb_timer.c | |
parent | dcb69290af30f7ef54e03bf82e1be0950f167789 (diff) |
dw_apb_timer: constify clocksource name
The clocksource name should be const for correctness.
Cc: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'drivers/clocksource/dw_apb_timer.c')
-rw-r--r-- | drivers/clocksource/dw_apb_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/dw_apb_timer.c b/drivers/clocksource/dw_apb_timer.c index 580f870541a3..8c2a35f26d9b 100644 --- a/drivers/clocksource/dw_apb_timer.c +++ b/drivers/clocksource/dw_apb_timer.c | |||
@@ -348,7 +348,7 @@ static void apbt_restart_clocksource(struct clocksource *cs) | |||
348 | * dw_apb_clocksource_register() as the next step. | 348 | * dw_apb_clocksource_register() as the next step. |
349 | */ | 349 | */ |
350 | struct dw_apb_clocksource * | 350 | struct dw_apb_clocksource * |
351 | dw_apb_clocksource_init(unsigned rating, char *name, void __iomem *base, | 351 | dw_apb_clocksource_init(unsigned rating, const char *name, void __iomem *base, |
352 | unsigned long freq) | 352 | unsigned long freq) |
353 | { | 353 | { |
354 | struct dw_apb_clocksource *dw_cs = kzalloc(sizeof(*dw_cs), GFP_KERNEL); | 354 | struct dw_apb_clocksource *dw_cs = kzalloc(sizeof(*dw_cs), GFP_KERNEL); |