Commit 36d8593e authored by Russell King - ARM Linux's avatar Russell King - ARM Linux Committed by John Stultz

Make clocksource name const

As nothing should be writing to the clocksource name string, make the
clocksource name pointer const.  Build-tested on ARM Versatile Express.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: default avatarJohn Stultz <johnstul@us.ibm.com>
parent 6f576d57
......@@ -161,7 +161,7 @@ struct clocksource {
/*
* First part of structure is read mostly
*/
char *name;
const char *name;
struct list_head list;
int rating;
cycle_t (*read)(struct clocksource *cs);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment