clockevents/drivers/timer-atmel-pit: Fix typo in structure initialization
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 4 Aug 2015 09:59:42 +0000 (11:59 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 10 Aug 2015 09:40:56 +0000 (11:40 +0200)
Reported-by: Peter Mamonov <pmamonov@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-atmel-pit.c

index 58753223585bc13a34416d3cb9611258c0f6e188..d911c5dca8f17ead5321ced4bd0e0410813fe4ec 100644 (file)
@@ -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 */