aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-mxc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-mxc.c')
-rw-r--r--drivers/gpio/gpio-mxc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-mxc.c b/drivers/gpio/gpio-mxc.c
index 80f44bb64a8..7877335c4cc 100644
--- a/drivers/gpio/gpio-mxc.c
+++ b/drivers/gpio/gpio-mxc.c
@@ -356,7 +356,7 @@ static void __init mxc_gpio_init_gc(struct mxc_gpio_port *port, int irq_base)
356 IRQ_NOREQUEST, 0); 356 IRQ_NOREQUEST, 0);
357} 357}
358 358
359static void __devinit mxc_gpio_get_hw(struct platform_device *pdev) 359static void mxc_gpio_get_hw(struct platform_device *pdev)
360{ 360{
361 const struct of_device_id *of_id = 361 const struct of_device_id *of_id =
362 of_match_device(mxc_gpio_dt_ids, &pdev->dev); 362 of_match_device(mxc_gpio_dt_ids, &pdev->dev);
@@ -395,7 +395,7 @@ static int mxc_gpio_to_irq(struct gpio_chip *gc, unsigned offset)
395 return irq_find_mapping(port->domain, offset); 395 return irq_find_mapping(port->domain, offset);
396} 396}
397 397
398static int __devinit mxc_gpio_probe(struct platform_device *pdev) 398static int mxc_gpio_probe(struct platform_device *pdev)
399{ 399{
400 struct device_node *np = pdev->dev.of_node; 400 struct device_node *np = pdev->dev.of_node;
401 struct mxc_gpio_port *port; 401 struct mxc_gpio_port *port;