posix-timers: Make nanosleep timespec argument const
[linux-2.6-microblaze.git] / kernel / time / posix-timers.h
index 5e69bb8..fb303c3 100644 (file)
@@ -10,7 +10,7 @@ struct k_clock {
        int     (*clock_adj)(const clockid_t which_clock, struct timex *tx);
        int     (*timer_create)(struct k_itimer *timer);
        int     (*nsleep)(const clockid_t which_clock, int flags,
-                         struct timespec64 *);
+                         const struct timespec64 *);
        int     (*timer_set)(struct k_itimer *timr, int flags,
                             struct itimerspec64 *new_setting,
                             struct itimerspec64 *old_setting);