aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/posix-cpu-timers.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-01 08:51:03 -0500
committerThomas Gleixner <tglx@linutronix.de>2011-02-02 09:28:12 -0500
commit2fd1f04089cb657c5d6c484b280ec4d3398aa157 (patch)
tree34f314159f648a063293ad837d5d7b3973abc3e1 /kernel/posix-cpu-timers.c
parent65da528d7cc94966cf24d2a1e0837b689159b543 (diff)
posix-timers: Cleanup struct initializers
Cosmetic. No functional change Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: John Stultz <johnstul@us.ibm.com> Tested-by: Richard Cochran <richard.cochran@omicron.at> LKML-Reference: <20110201134417.745627057@linutronix.de>
Diffstat (limited to 'kernel/posix-cpu-timers.c')
-rw-r--r--kernel/posix-cpu-timers.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/kernel/posix-cpu-timers.c b/kernel/posix-cpu-timers.c
index 05bb7173850e..11b91dc0992b 100644
--- a/kernel/posix-cpu-timers.c
+++ b/kernel/posix-cpu-timers.c
@@ -1607,20 +1607,20 @@ static long thread_cpu_nsleep_restart(struct restart_block *restart_block)
1607static __init int init_posix_cpu_timers(void) 1607static __init int init_posix_cpu_timers(void)
1608{ 1608{
1609 struct k_clock process = { 1609 struct k_clock process = {
1610 .clock_getres = process_cpu_clock_getres, 1610 .clock_getres = process_cpu_clock_getres,
1611 .clock_get = process_cpu_clock_get, 1611 .clock_get = process_cpu_clock_get,
1612 .clock_set = do_posix_clock_nosettime, 1612 .clock_set = do_posix_clock_nosettime,
1613 .timer_create = process_cpu_timer_create, 1613 .timer_create = process_cpu_timer_create,
1614 .nsleep = process_cpu_nsleep, 1614 .nsleep = process_cpu_nsleep,
1615 .nsleep_restart = process_cpu_nsleep_restart, 1615 .nsleep_restart = process_cpu_nsleep_restart,
1616 }; 1616 };
1617 struct k_clock thread = { 1617 struct k_clock thread = {
1618 .clock_getres = thread_cpu_clock_getres, 1618 .clock_getres = thread_cpu_clock_getres,
1619 .clock_get = thread_cpu_clock_get, 1619 .clock_get = thread_cpu_clock_get,
1620 .clock_set = do_posix_clock_nosettime, 1620 .clock_set = do_posix_clock_nosettime,
1621 .timer_create = thread_cpu_timer_create, 1621 .timer_create = thread_cpu_timer_create,
1622 .nsleep = thread_cpu_nsleep, 1622 .nsleep = thread_cpu_nsleep,
1623 .nsleep_restart = thread_cpu_nsleep_restart, 1623 .nsleep_restart = thread_cpu_nsleep_restart,
1624 }; 1624 };
1625 struct timespec ts; 1625 struct timespec ts;
1626 1626