aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDaniel Lezcano <[email protected]>2020-03-16 13:24:10 +0100
committerDaniel Lezcano <[email protected]>2020-03-16 13:24:10 +0100
commitf7867cffff7b0b4b3aa65a4978b2d93ff1a5f5ae (patch)
treefb4ea19b27294fbcb6cf16dad816e02e0abd889c /include/linux
parent0585244523f0f4de7e4480375e871617a79cab98 (diff)
parent02e6d546e3bdc1a8a764343cd1ba354da07e8623 (diff)
Merge branch 'timers/drivers/timer-ti-dm' into timers/drivers/next
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/platform_data/dmtimer-omap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/platform_data/dmtimer-omap.h b/include/linux/platform_data/dmtimer-omap.h
index bdaaf537604a..95d852aef130 100644
--- a/include/linux/platform_data/dmtimer-omap.h
+++ b/include/linux/platform_data/dmtimer-omap.h
@@ -30,12 +30,12 @@ struct omap_dm_timer_ops {
int (*stop)(struct omap_dm_timer *timer);
int (*set_source)(struct omap_dm_timer *timer, int source);
- int (*set_load)(struct omap_dm_timer *timer, int autoreload,
- unsigned int value);
+ int (*set_load)(struct omap_dm_timer *timer, unsigned int value);
int (*set_match)(struct omap_dm_timer *timer, int enable,
unsigned int match);
int (*set_pwm)(struct omap_dm_timer *timer, int def_on,
- int toggle, int trigger);
+ int toggle, int trigger, int autoreload);
+ int (*get_pwm_status)(struct omap_dm_timer *timer);
int (*set_prescaler)(struct omap_dm_timer *timer, int prescaler);
unsigned int (*read_counter)(struct omap_dm_timer *timer);