aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-pxa/pwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-pxa/pwm.c')
-rw-r--r--arch/arm/plat-pxa/pwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-pxa/pwm.c b/arch/arm/plat-pxa/pwm.c
index 0732c6c8d51..ef32686feef 100644
--- a/arch/arm/plat-pxa/pwm.c
+++ b/arch/arm/plat-pxa/pwm.c
@@ -176,7 +176,7 @@ static inline void __add_pwm(struct pwm_device *pwm)
static int __devinit pwm_probe(struct platform_device *pdev)
{
- struct platform_device_id *id = platform_get_device_id(pdev);
+ const struct platform_device_id *id = platform_get_device_id(pdev);
struct pwm_device *pwm, *secondary = NULL;
struct resource *r;
int ret = 0;