aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-imx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pwm/pwm-imx.c')
-rw-r--r--drivers/pwm/pwm-imx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c
index 8a5d3ae2946a..65a86bdeabed 100644
--- a/drivers/pwm/pwm-imx.c
+++ b/drivers/pwm/pwm-imx.c
@@ -231,11 +231,11 @@ static const struct of_device_id imx_pwm_dt_ids[] = {
231}; 231};
232MODULE_DEVICE_TABLE(of, imx_pwm_dt_ids); 232MODULE_DEVICE_TABLE(of, imx_pwm_dt_ids);
233 233
234static int __devinit imx_pwm_probe(struct platform_device *pdev) 234static int imx_pwm_probe(struct platform_device *pdev)
235{ 235{
236 const struct of_device_id *of_id = 236 const struct of_device_id *of_id =
237 of_match_device(imx_pwm_dt_ids, &pdev->dev); 237 of_match_device(imx_pwm_dt_ids, &pdev->dev);
238 struct imx_pwm_data *data; 238 const struct imx_pwm_data *data;
239 struct imx_chip *imx; 239 struct imx_chip *imx;
240 struct resource *r; 240 struct resource *r;
241 int ret = 0; 241 int ret = 0;
@@ -290,7 +290,7 @@ static int __devinit imx_pwm_probe(struct platform_device *pdev)
290 return 0; 290 return 0;
291} 291}
292 292
293static int __devexit imx_pwm_remove(struct platform_device *pdev) 293static int imx_pwm_remove(struct platform_device *pdev)
294{ 294{
295 struct imx_chip *imx; 295 struct imx_chip *imx;
296 296
@@ -307,7 +307,7 @@ static struct platform_driver imx_pwm_driver = {
307 .of_match_table = of_match_ptr(imx_pwm_dt_ids), 307 .of_match_table = of_match_ptr(imx_pwm_dt_ids),
308 }, 308 },
309 .probe = imx_pwm_probe, 309 .probe = imx_pwm_probe,
310 .remove = __devexit_p(imx_pwm_remove), 310 .remove = imx_pwm_remove,
311}; 311};
312 312
313module_platform_driver(imx_pwm_driver); 313module_platform_driver(imx_pwm_driver);