diff options
author | Coly Li <coly.li@suse.de> | 2009-04-22 15:05:31 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-04-23 10:27:38 -0400 |
commit | f57f2fe2a39338c47b67fbd564a9d3b7587bcbee (patch) | |
tree | 19329d51207bf9c55432e39d5e58d0fab3b4c42f /arch | |
parent | 993ce24078eac1442078741cd204584b63de0881 (diff) |
microblaze: add parameter to microblaze_read()
This patch modifies parameter of microblaze_read() from 'void' to 'struct
clocksource *cs', which fixes compile warning for incompatible parameter type.
Signed-off-by: Coly Li <coly.li@suse.de>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/microblaze/kernel/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/timer.c b/arch/microblaze/kernel/timer.c index 05a497eefd78..bdfa2f9f0c81 100644 --- a/arch/microblaze/kernel/timer.c +++ b/arch/microblaze/kernel/timer.c | |||
@@ -176,7 +176,7 @@ static __init void microblaze_clockevent_init(void) | |||
176 | clockevents_register_device(&clockevent_microblaze_timer); | 176 | clockevents_register_device(&clockevent_microblaze_timer); |
177 | } | 177 | } |
178 | 178 | ||
179 | static cycle_t microblaze_read(void) | 179 | static cycle_t microblaze_read(struct clocksource *cs) |
180 | { | 180 | { |
181 | /* reading actual value of timer 1 */ | 181 | /* reading actual value of timer 1 */ |
182 | return (cycle_t) (in_be32(TIMER_BASE + TCR1)); | 182 | return (cycle_t) (in_be32(TIMER_BASE + TCR1)); |