summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@gmail.com>2020-03-30 16:54:58 +0200
committerThierry Reding <thierry.reding@gmail.com>2020-03-30 16:54:58 +0200
commit74c8249f216a19bb8fdd20f0aab999b418948ca8 (patch)
tree5bd83715ca2f9e85ed2a132932ebf13317630481 /include/linux
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9 (diff)
parent02e6d546e3bdc1a8a764343cd1ba354da07e8623 (diff)
Merge branch 'timers/drivers/timer-ti-dm' of https://git.linaro.org/people/dlezcano/linux into for-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);