aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/spear/pinctrl-spear310.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pinctrl/spear/pinctrl-spear310.c')
-rw-r--r--drivers/pinctrl/spear/pinctrl-spear310.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pinctrl/spear/pinctrl-spear310.c b/drivers/pinctrl/spear/pinctrl-spear310.c
index 4d5dfe9c760a..5b954c19a6d2 100644
--- a/drivers/pinctrl/spear/pinctrl-spear310.c
+++ b/drivers/pinctrl/spear/pinctrl-spear310.c
@@ -371,7 +371,7 @@ static struct spear_function *spear310_functions[] = {
371 &tdm_function, 371 &tdm_function,
372}; 372};
373 373
374static struct of_device_id spear310_pinctrl_of_match[] __devinitdata = { 374static struct of_device_id spear310_pinctrl_of_match[] = {
375 { 375 {
376 .compatible = "st,spear310-pinmux", 376 .compatible = "st,spear310-pinmux",
377 }, 377 },
@@ -400,7 +400,7 @@ static int __devinit spear310_pinctrl_probe(struct platform_device *pdev)
400 return 0; 400 return 0;
401} 401}
402 402
403static int __devexit spear310_pinctrl_remove(struct platform_device *pdev) 403static int spear310_pinctrl_remove(struct platform_device *pdev)
404{ 404{
405 return spear_pinctrl_remove(pdev); 405 return spear_pinctrl_remove(pdev);
406} 406}
@@ -412,7 +412,7 @@ static struct platform_driver spear310_pinctrl_driver = {
412 .of_match_table = spear310_pinctrl_of_match, 412 .of_match_table = spear310_pinctrl_of_match,
413 }, 413 },
414 .probe = spear310_pinctrl_probe, 414 .probe = spear310_pinctrl_probe,
415 .remove = __devexit_p(spear310_pinctrl_remove), 415 .remove = spear310_pinctrl_remove,
416}; 416};
417 417
418static int __init spear310_pinctrl_init(void) 418static int __init spear310_pinctrl_init(void)