Skip to content

Commit

Permalink
clockevents/drivers/timer-atmel-pit: Fix typo in structure initializa…
Browse files Browse the repository at this point in the history
…tion

Reported-by: Peter Mamonov <pmamonov@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
  • Loading branch information
Daniel Lezcano committed Aug 10, 2015
1 parent daea728 commit 005e562
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/clocksource/timer-atmel-pit.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ static void __init at91sam926x_pit_common_init(struct pit_data *data)
data->clksrc.mask = CLOCKSOURCE_MASK(bits);
data->clksrc.name = "pit";
data->clksrc.rating = 175;
data->clksrc.read = read_pit_clk,
data->clksrc.flags = CLOCK_SOURCE_IS_CONTINUOUS,
data->clksrc.read = read_pit_clk;
data->clksrc.flags = CLOCK_SOURCE_IS_CONTINUOUS;
clocksource_register_hz(&data->clksrc, pit_rate);

/* Set up irq handler */
Expand Down

0 comments on commit 005e562

Please sign in to comment.