summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib-acpi.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2019-09-04 19:26:24 +0200
committerLinus Walleij <linus.walleij@linaro.org>2019-09-10 12:34:20 +0200
commit4f78d91c722345de94a3c72da49b9d0d49cb76b8 (patch)
tree3b9db80cd5cd562bd3f692d520fbe7da442aeade /drivers/gpio/gpiolib-acpi.h
parentMerge tag 'intel-gpio-v5.4-1' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadlinux-4f78d91c722345de94a3c72da49b9d0d49cb76b8.tar.xz
linux-4f78d91c722345de94a3c72da49b9d0d49cb76b8.zip
gpiolib: acpi: make acpi_can_fallback_to_crs() static
It is not used outside gpiolib-acpi.c module, so there is no need to export it. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Link: https://lore.kernel.org/r/20190904172624.GA76617@dtor-ws Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib-acpi.h')
-rw-r--r--drivers/gpio/gpiolib-acpi.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpio/gpiolib-acpi.h b/drivers/gpio/gpiolib-acpi.h
index d7241b432b8b..1c6d65cf0629 100644
--- a/drivers/gpio/gpiolib-acpi.h
+++ b/drivers/gpio/gpiolib-acpi.h
@@ -52,8 +52,6 @@ struct gpio_desc *acpi_node_get_gpiod(struct fwnode_handle *fwnode,
struct acpi_gpio_info *info);
int acpi_gpio_count(struct device *dev, const char *con_id);
-
-bool acpi_can_fallback_to_crs(struct acpi_device *adev, const char *con_id);
#else
static inline void acpi_gpiochip_add(struct gpio_chip *chip) { }
static inline void acpi_gpiochip_remove(struct gpio_chip *chip) { }
@@ -93,12 +91,6 @@ static inline int acpi_gpio_count(struct device *dev, const char *con_id)
{
return -ENODEV;
}
-
-static inline bool acpi_can_fallback_to_crs(struct acpi_device *adev,
- const char *con_id)
-{
- return false;
-}
#endif
#endif /* GPIOLIB_ACPI_H */