From: Tomasz Figa Date: Tue, 23 Apr 2013 15:46:26 +0000 (+0200) Subject: clocksource: samsung_pwm_timer: Drop unused samsung_pwm struct X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=09d718a78c79ddc270dccbfa1b1070b20b9a9ae1;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git clocksource: samsung_pwm_timer: Drop unused samsung_pwm struct This patch removes the unused samsung_pwm struct from public header. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park Reviewed-by: Arnd Bergmann Acked-by: Kukjin Kim Signed-off-by: Olof Johansson --- diff --git a/include/clocksource/samsung_pwm.h b/include/clocksource/samsung_pwm.h index 399d2414734f..b1d8fe706f1a 100644 --- a/include/clocksource/samsung_pwm.h +++ b/include/clocksource/samsung_pwm.h @@ -20,9 +20,6 @@ #define SAMSUNG_PWM_NUM 5 -struct platform_device; -struct device_node; - extern spinlock_t samsung_pwm_lock; struct samsung_pwm_variant { @@ -33,11 +30,4 @@ struct samsung_pwm_variant { bool has_tint_cstat; }; -struct samsung_pwm { - struct samsung_pwm_variant variant; - spinlock_t slock; - void __iomem *base; - int irq[SAMSUNG_PWM_NUM]; -}; - #endif /* __CLOCKSOURCE_SAMSUNG_PWM_H */