diff options
author | Nelson Castillo <nelsoneci@gmail.com> | 2008-10-16 11:46:10 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-10-16 11:48:29 -0400 |
commit | 55b404fd78792d7a88d19f2534510ee42841146f (patch) | |
tree | fd8cbb175368af75ca9319e96a66afde4611f869 /arch | |
parent | 5c37866c6e2f0d19896e4c14f386189c1fdf2295 (diff) |
[ARM] S3C24XX: Fix redefine of DEFINE_TIMER() in s3c24xx pwm-clock.c
Do not redefine the DEFINE_TIMER macro. Renamed the local macro
to DEFINE_S3C_TIMER.
Signed-off-by: Nelson Castillo <nelsoneci@gmail.com>
[ben-linux@fluff.org: spelling and subject fix]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-s3c24xx/pwm.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/plat-s3c24xx/pwm.c b/arch/arm/plat-s3c24xx/pwm.c index 7a92c938542a..cbc06067d9ce 100644 --- a/arch/arm/plat-s3c24xx/pwm.c +++ b/arch/arm/plat-s3c24xx/pwm.c | |||
@@ -56,7 +56,7 @@ static struct clk *clk_scaler[2]; | |||
56 | } \ | 56 | } \ |
57 | } | 57 | } |
58 | 58 | ||
59 | #define DEFINE_TIMER(_tmr_no, _irq) \ | 59 | #define DEFINE_S3C_TIMER(_tmr_no, _irq) \ |
60 | .name = "s3c24xx-pwm", \ | 60 | .name = "s3c24xx-pwm", \ |
61 | .id = _tmr_no, \ | 61 | .id = _tmr_no, \ |
62 | .num_resources = TIMER_RESOURCE_SIZE, \ | 62 | .num_resources = TIMER_RESOURCE_SIZE, \ |
@@ -67,11 +67,11 @@ static struct clk *clk_scaler[2]; | |||
67 | */ | 67 | */ |
68 | 68 | ||
69 | struct platform_device s3c_device_timer[] = { | 69 | struct platform_device s3c_device_timer[] = { |
70 | [0] = { DEFINE_TIMER(0, IRQ_TIMER0) }, | 70 | [0] = { DEFINE_S3C_TIMER(0, IRQ_TIMER0) }, |
71 | [1] = { DEFINE_TIMER(1, IRQ_TIMER1) }, | 71 | [1] = { DEFINE_S3C_TIMER(1, IRQ_TIMER1) }, |
72 | [2] = { DEFINE_TIMER(2, IRQ_TIMER2) }, | 72 | [2] = { DEFINE_S3C_TIMER(2, IRQ_TIMER2) }, |
73 | [3] = { DEFINE_TIMER(3, IRQ_TIMER3) }, | 73 | [3] = { DEFINE_S3C_TIMER(3, IRQ_TIMER3) }, |
74 | [4] = { DEFINE_TIMER(4, IRQ_TIMER4) }, | 74 | [4] = { DEFINE_S3C_TIMER(4, IRQ_TIMER4) }, |
75 | }; | 75 | }; |
76 | 76 | ||
77 | static inline int pwm_is_tdiv(struct pwm_device *pwm) | 77 | static inline int pwm_is_tdiv(struct pwm_device *pwm) |