diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-pxa/pwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/pwm.c b/arch/arm/mach-pxa/pwm.c index 70fb3ca6a058..fa9323ee854c 100644 --- a/arch/arm/mach-pxa/pwm.c +++ b/arch/arm/mach-pxa/pwm.c | |||
@@ -221,11 +221,11 @@ static int __devinit pxa27x_pwm_probe(struct platform_device *pdev) | |||
221 | { | 221 | { |
222 | struct pwm_device *pwm; | 222 | struct pwm_device *pwm; |
223 | 223 | ||
224 | pwm = pwm_probe(pdev, pdev->id * 2, NULL); | 224 | pwm = pwm_probe(pdev, pdev->id, NULL); |
225 | if (IS_ERR(pwm)) | 225 | if (IS_ERR(pwm)) |
226 | return PTR_ERR(pwm); | 226 | return PTR_ERR(pwm); |
227 | 227 | ||
228 | pwm = pwm_probe(pdev, pdev->id * 2 + 1, pwm); | 228 | pwm = pwm_probe(pdev, pdev->id + 2, pwm); |
229 | if (IS_ERR(pwm)) | 229 | if (IS_ERR(pwm)) |
230 | return PTR_ERR(pwm); | 230 | return PTR_ERR(pwm); |
231 | 231 | ||