diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2020-03-12 09:52:06 +0530 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2020-03-30 18:03:06 +0200 |
commit | 54091b5f195b45a9a7d394008c06d2b9646ab126 (patch) | |
tree | 84185241fad697cef8805358086892bdef564268 /include/clocksource | |
parent | a1098c13a3ecd61015f63753c80c212ceaea7fb4 (diff) | |
download | linux-stable-54091b5f195b45a9a7d394008c06d2b9646ab126.tar.gz linux-stable-54091b5f195b45a9a7d394008c06d2b9646ab126.tar.bz2 linux-stable-54091b5f195b45a9a7d394008c06d2b9646ab126.zip |
pwm: omap-dmtimer: Drop unused header file
pwm_omap_dmtimer.h is used only:
- to typedef struct omap_dm_timer to pwm_omap_dmtimer
- for macro PWM_OMAP_DMTIMER_TRIGGER_OVERFLOW_AND_COMPARE
Rest of the file is pretty mush unsed. So reuse omap_dm_timer
and OMAP_TIMER_TRIGGER_OVERFLOW_AND_COMPARE in pwm-omap-dmtimer.c
and delete the header file.
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'include/clocksource')
-rw-r--r-- | include/clocksource/timer-ti-dm.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/clocksource/timer-ti-dm.h b/include/clocksource/timer-ti-dm.h index 25f05235866e..531ca87fcd08 100644 --- a/include/clocksource/timer-ti-dm.h +++ b/include/clocksource/timer-ti-dm.h @@ -248,8 +248,7 @@ int omap_dm_timers_active(void); /* * The below are inlined to optimize code size for system timers. Other code - * should not need these at all, see - * include/linux/platform_data/pwm_omap_dmtimer.h + * should not need these at all. */ #if defined(CONFIG_ARCH_OMAP1) || defined(CONFIG_ARCH_OMAP2PLUS) static inline u32 __omap_dm_timer_read(struct omap_dm_timer *timer, u32 reg, |