Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -161,7 +161,7 @@ struct clocksource {
	/*
	/*
	 * First part of structure is read mostly
	 * First part of structure is read mostly
	 */
	 */
	char *name;
	const char *name;
	struct list_head list;
	struct list_head list;
	int rating;
	int rating;
	cycle_t (*read)(struct clocksource *cs);
	cycle_t (*read)(struct clocksource *cs);