summaryrefslogtreecommitdiff
path: root/include/linux/dw_apb_timer.h
diff options
context:
space:
mode:
authorJamie Iles <jamie@jamieiles.com>2011-07-25 19:34:37 +0400
committerJohn Stultz <john.stultz@linaro.org>2011-10-05 00:08:18 +0400
commita1330228f9eec7e355d41f45c17e1297d681f40d (patch)
tree42b358fb23fb4593691734300d7c98771fad39ca /include/linux/dw_apb_timer.h
parentdcb69290af30f7ef54e03bf82e1be0950f167789 (diff)
downloadlinux-a1330228f9eec7e355d41f45c17e1297d681f40d.tar.xz
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 'include/linux/dw_apb_timer.h')
-rw-r--r--include/linux/dw_apb_timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dw_apb_timer.h b/include/linux/dw_apb_timer.h
index 49638ea3b776..07261d52a6df 100644
--- a/include/linux/dw_apb_timer.h
+++ b/include/linux/dw_apb_timer.h
@@ -46,7 +46,7 @@ struct dw_apb_clock_event_device *
dw_apb_clockevent_init(int cpu, const char *name, unsigned rating,
void __iomem *base, int irq, unsigned long freq);
struct dw_apb_clocksource *
-dw_apb_clocksource_init(unsigned rating, char *name, void __iomem *base,
+dw_apb_clocksource_init(unsigned rating, const char *name, void __iomem *base,
unsigned long freq);
void dw_apb_clocksource_register(struct dw_apb_clocksource *dw_cs);
void dw_apb_clocksource_start(struct dw_apb_clocksource *dw_cs);