diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-08-04 11:59:42 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-08-10 11:40:56 +0200 |
commit | 005e56272b28193540dcd1dab3dadb3da8375eaf (patch) | |
tree | 162bd2861f1933b0c6e66378e1b62859bf8bd960 /drivers/clocksource | |
parent | clockevents/drivers/timer-sp804: Migrate to new 'set-state' interface (diff) | |
download | linux-005e56272b28193540dcd1dab3dadb3da8375eaf.tar.xz linux-005e56272b28193540dcd1dab3dadb3da8375eaf.zip |
clockevents/drivers/timer-atmel-pit: Fix typo in structure initialization
Reported-by: Peter Mamonov <pmamonov@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r-- | drivers/clocksource/timer-atmel-pit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clocksource/timer-atmel-pit.c b/drivers/clocksource/timer-atmel-pit.c index 58753223585b..d911c5dca8f1 100644 --- a/drivers/clocksource/timer-atmel-pit.c +++ b/drivers/clocksource/timer-atmel-pit.c @@ -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 */ |