gpio: msm-v1: Remove errant __devinit to fix compile
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 4 Jun 2013 19:20:00 +0000 (12:20 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Jun 2013 05:54:05 +0000 (07:54 +0200)
Commit 7bce696 (gpio: Make gpio-msm-v1 into a platform driver,
2013-03-04) was based on an older kernel where __devinit still
existed. Remove the erroneous __devinit marking.

Cc: David Brown <davidb@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-msm-v1.c

index c798585..fb2cc90 100644 (file)
@@ -630,7 +630,7 @@ static struct irq_chip msm_gpio_irq_chip = {
        .irq_set_type  = msm_gpio_irq_set_type,
 };
 
-static int __devinit gpio_msm_v1_probe(struct platform_device *pdev)
+static int gpio_msm_v1_probe(struct platform_device *pdev)
 {
        int i, j = 0;
        const struct platform_device_id *dev_id = platform_get_device_id(pdev);