aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/timer-atmel-pit.c
diff options
context:
space:
mode:
authorJoel Stanley <[email protected]>2016-07-21 13:43:52 +0000
committerDaniel Lezcano <[email protected]>2016-09-09 12:15:36 +0000
commit82fdd070873f7ac9b3e37b3d4523b4ae27d02e50 (patch)
treee6504c03f247e742a460b511b712e0246190c650 /drivers/clocksource/timer-atmel-pit.c
parentclocksource/drivers/moxart: Refactor enable/disable (diff)
downloadkernel-82fdd070873f7ac9b3e37b3d4523b4ae27d02e50.tar.gz
kernel-82fdd070873f7ac9b3e37b3d4523b4ae27d02e50.zip
clocksource/drivers/moxart: Use struct to hold state
Add a struct moxart_timer to hold the driver state, including the irqaction and struct clock_event_device. Most importantly this holds values for enabling and disabling the timer, so future support can be added for devices that use different bits for enable/disable. In preparation for future hardware support we add a MOXART prefix to the existing values. Signed-off-by: Joel Stanley <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/clocksource/timer-atmel-pit.c')
0 files changed, 0 insertions, 0 deletions