altera_gpio_probe() can be static

Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
kbuild test robot 2015-03-19 17:40:02 +08:00 • committed by Linus Walleij
commit c4b40493de

View 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;