OSDN Git Service

altera_gpio_probe() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Thu, 19 Mar 2015 09:40:02 +0000 (17:40 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 27 Mar 2015 08:28:40 +0000 (09:28 +0100)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-altera.c

index 4d41196..449fb46 100644 (file)
@@ -256,7 +256,7 @@ static void altera_gpio_irq_leveL_high_handler(unsigned int irq,
        chained_irq_exit(chip, desc);
 }
 
-int altera_gpio_probe(struct platform_device *pdev)
+static int altera_gpio_probe(struct platform_device *pdev)
 {
        struct device_node *node = pdev->dev.of_node;
        int reg, ret;