diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-10-29 12:13:12 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-10-31 04:21:09 -0400 |
commit | 550a9532b8093ef554947e5d24b469ffb1ff9930 (patch) | |
tree | d2715f32db4beb4b1c55e004fb2388410e383d84 /drivers/gpio | |
parent | 1b6998c96ccc60a61bdb812b4a55866224ab9708 (diff) |
ACPI / gpio: make acpi_gpiochip_parse_own_gpio static
Fixes the following sparse warning:
drivers/gpio/gpiolib-acpi.c:863:18: warning:
symbol 'acpi_gpiochip_parse_own_gpio' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpiolib-acpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpiolib-acpi.c b/drivers/gpio/gpiolib-acpi.c index aa879d5eaa19..83fcfff19cd6 100644 --- a/drivers/gpio/gpiolib-acpi.c +++ b/drivers/gpio/gpiolib-acpi.c | |||
@@ -857,9 +857,9 @@ static void acpi_gpiochip_free_regions(struct acpi_gpio_chip *achip) | |||
857 | } | 857 | } |
858 | } | 858 | } |
859 | 859 | ||
860 | struct gpio_desc *acpi_gpiochip_parse_own_gpio(struct acpi_gpio_chip *achip, | 860 | static struct gpio_desc *acpi_gpiochip_parse_own_gpio( |
861 | struct fwnode_handle *fwnode, const char **name, unsigned int *lflags, | 861 | struct acpi_gpio_chip *achip, struct fwnode_handle *fwnode, |
862 | unsigned int *dflags) | 862 | const char **name, unsigned int *lflags, unsigned int *dflags) |
863 | { | 863 | { |
864 | struct gpio_chip *chip = achip->chip; | 864 | struct gpio_chip *chip = achip->chip; |
865 | struct gpio_desc *desc; | 865 | struct gpio_desc *desc; |