timekeeping/ntp: Constify some function arguments
[linux-2.6-block.git] / kernel / time / timekeeping_debug.c
index 0754cadfa9e61b044b6bfcf81f4146c8c45f63c3..238e4be6022955f5b11cefae73b236cb8ba2d39a 100644 (file)
@@ -70,7 +70,7 @@ static int __init tk_debug_sleep_time_init(void)
 }
 late_initcall(tk_debug_sleep_time_init);
 
-void tk_debug_account_sleep_time(struct timespec64 *t)
+void tk_debug_account_sleep_time(const struct timespec64 *t)
 {
        /* Cap bin index so we don't overflow the array */
        int bin = min(fls(t->tv_sec), NUM_BINS-1);