[ARM] pxa: allow PWM ID base number to be specified in pwm_id_table
authorEric Miao <eric.miao@marvell.com>
Mon, 13 Apr 2009 10:51:31 +0000 (18:51 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Fri, 5 Jun 2009 02:32:03 +0000 (10:32 +0800)
commita757ad8b391adb2129f8357545aaa678099df473
tree42bf36574d6bf3d29cffa3d74e3b203422a01346
parent3d2a98cd5e17052f461390c72efe1076c18fd62d
[ARM] pxa: allow PWM ID base number to be specified in pwm_id_table

PWMs on PXA168/910 start at number 1 instead of 0, (i.e. PWM1/2/3/4 instead
of PWM0/1/2/3 on PXA25x/PXA27x/PXA3xx). Allow this number to be specified
in pwm_id_table.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
arch/arm/mach-pxa/pwm.c