From 15038fb570748ce2fb9ce31200b1f075774a7f4d Mon Sep 17 00:00:00 2001 From: Jonas Bonn Date: Wed, 19 Nov 2008 17:11:03 +0000 Subject: Move asm/arch/pwm.h to mach/pwm.h Signed-off-by: Jonas Bonn --- include/asm-arm/arch-s3c2410/fiq_ipc_gta02.h | 2 +- include/asm-arm/arch-s3c2410/pwm.h | 40 ---------------------------- 2 files changed, 1 insertion(+), 41 deletions(-) delete mode 100644 include/asm-arm/arch-s3c2410/pwm.h (limited to 'include/asm-arm') diff --git a/include/asm-arm/arch-s3c2410/fiq_ipc_gta02.h b/include/asm-arm/arch-s3c2410/fiq_ipc_gta02.h index a96a0233919..8f7744eab63 100644 --- a/include/asm-arm/arch-s3c2410/fiq_ipc_gta02.h +++ b/include/asm-arm/arch-s3c2410/fiq_ipc_gta02.h @@ -16,7 +16,7 @@ * for testing */ -#include +#include #include extern u8 fiq_ready; diff --git a/include/asm-arm/arch-s3c2410/pwm.h b/include/asm-arm/arch-s3c2410/pwm.h deleted file mode 100644 index 5689ce973d2..00000000000 --- a/include/asm-arm/arch-s3c2410/pwm.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef __S3C2410_PWM_H -#define __S3C2410_PWM_H - -#include -#include -#include - -#include -#include -#include -#include -#include - -enum pwm_timer { - PWM0, - PWM1, - PWM2, - PWM3, - PWM4 -}; - -struct s3c2410_pwm { - enum pwm_timer timerid; - struct clk *pclk; - unsigned long pclk_rate; - unsigned long prescaler; - unsigned long divider; - unsigned long counter; - unsigned long comparer; -}; - -int s3c2410_pwm_init(struct s3c2410_pwm *s3c2410_pwm); -int s3c2410_pwm_enable(struct s3c2410_pwm *s3c2410_pwm); -int s3c2410_pwm_disable(struct s3c2410_pwm *s3c2410_pwm); -int s3c2410_pwm_start(struct s3c2410_pwm *s3c2410_pwm); -int s3c2410_pwm_stop(struct s3c2410_pwm *s3c2410_pwm); -int s3c2410_pwm_duty_cycle(int reg_value, struct s3c2410_pwm *s3c2410_pwm); -int s3c2410_pwm_dumpregs(void); - -#endif /* __S3C2410_PWM_H */ -- cgit v1.2.3