diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-03-19 12:40:02 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-03-27 11:28:40 +0300 |
commit | c4b40493de668a86856602a4cf19bf0d809e2681 (patch) | |
tree | 56f18ae45ea572b9e0bf3fa1e2bf390132b3f730 /drivers/gpio/gpio-altera.c | |
parent | ab82fa7da4dce5c728730d7aa0e11a2cbc9266da (diff) | |
download | linux-c4b40493de668a86856602a4cf19bf0d809e2681.tar.xz |
altera_gpio_probe() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-altera.c')
-rw-r--r-- | drivers/gpio/gpio-altera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-altera.c b/drivers/gpio/gpio-altera.c index 4d41196b3f13..449fb46cb8a0 100644 --- a/drivers/gpio/gpio-altera.c +++ b/drivers/gpio/gpio-altera.c @@ -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; |