Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 550a9532 authored by Wei Yongjun's avatar Wei Yongjun Committed by Linus Walleij
Browse files

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: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 1b6998c9
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -857,9 +857,9 @@ static void acpi_gpiochip_free_regions(struct acpi_gpio_chip *achip)
	}
}

struct gpio_desc *acpi_gpiochip_parse_own_gpio(struct acpi_gpio_chip *achip,
	struct fwnode_handle *fwnode, const char **name, unsigned int *lflags,
	unsigned int *dflags)
static struct gpio_desc *acpi_gpiochip_parse_own_gpio(
	struct acpi_gpio_chip *achip, struct fwnode_handle *fwnode,
	const char **name, unsigned int *lflags, unsigned int *dflags)
{
	struct gpio_chip *chip = achip->chip;
	struct gpio_desc *desc;