]> git.baikalelectronics.ru Git - kernel.git/commit
time/timecounter: Mark 1st argument of timecounter_cyc2time() as const
authorMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 3 Mar 2021 10:35:44 +0000 (11:35 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 16 Apr 2021 19:03:50 +0000 (21:03 +0200)
commitac762d3dfd6b28e23b286d46f980e60f2bab9af7
treea029bcbe6bd30a664a8d7ac3640f076ea0d25a49
parent286069a0e7ce70790868c15946bcd8e32315e5a2
time/timecounter: Mark 1st argument of timecounter_cyc2time() as const

The timecounter is not modified in this function. Mark it as const.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210303103544.994855-1-mkl@pengutronix.de
include/linux/timecounter.h
kernel/time/timecounter.c