diff options
Diffstat (limited to 'drivers/pinctrl/spear/pinctrl-spear.c')
-rw-r--r-- | drivers/pinctrl/spear/pinctrl-spear.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/pinctrl/spear/pinctrl-spear.c b/drivers/pinctrl/spear/pinctrl-spear.c index 922c057521a1..6a7dae70db08 100644 --- a/drivers/pinctrl/spear/pinctrl-spear.c +++ b/drivers/pinctrl/spear/pinctrl-spear.c | |||
@@ -82,9 +82,8 @@ static int set_mode(struct spear_pmx *pmx, int mode) | |||
82 | return 0; | 82 | return 0; |
83 | } | 83 | } |
84 | 84 | ||
85 | void __devinit | 85 | void pmx_init_gpio_pingroup_addr(struct spear_gpio_pingroup *gpio_pingroup, |
86 | pmx_init_gpio_pingroup_addr(struct spear_gpio_pingroup *gpio_pingroup, | 86 | unsigned count, u16 reg) |
87 | unsigned count, u16 reg) | ||
88 | { | 87 | { |
89 | int i, j; | 88 | int i, j; |
90 | 89 | ||
@@ -93,7 +92,7 @@ pmx_init_gpio_pingroup_addr(struct spear_gpio_pingroup *gpio_pingroup, | |||
93 | gpio_pingroup[i].muxregs[j].reg = reg; | 92 | gpio_pingroup[i].muxregs[j].reg = reg; |
94 | } | 93 | } |
95 | 94 | ||
96 | void __devinit pmx_init_addr(struct spear_pinctrl_machdata *machdata, u16 reg) | 95 | void pmx_init_addr(struct spear_pinctrl_machdata *machdata, u16 reg) |
97 | { | 96 | { |
98 | struct spear_pingroup *pgroup; | 97 | struct spear_pingroup *pgroup; |
99 | struct spear_modemux *modemux; | 98 | struct spear_modemux *modemux; |
@@ -358,8 +357,8 @@ static struct pinctrl_desc spear_pinctrl_desc = { | |||
358 | .owner = THIS_MODULE, | 357 | .owner = THIS_MODULE, |
359 | }; | 358 | }; |
360 | 359 | ||
361 | int __devinit spear_pinctrl_probe(struct platform_device *pdev, | 360 | int spear_pinctrl_probe(struct platform_device *pdev, |
362 | struct spear_pinctrl_machdata *machdata) | 361 | struct spear_pinctrl_machdata *machdata) |
363 | { | 362 | { |
364 | struct device_node *np = pdev->dev.of_node; | 363 | struct device_node *np = pdev->dev.of_node; |
365 | struct resource *res; | 364 | struct resource *res; |