summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-05-23 20:03:16 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-05-29 11:14:52 +0200
commitc29fd9ebb2b9d4bab16dfdce88547f9867ea6153 (patch)
treea4fac75b8dc281d54fdbacaf90f22b32859bae6d /drivers/gpio/gpiolib.c
parentca37978497194d55dedd28022403b053ad0d11b2 (diff)
downloadblackbird-obmc-linux-c29fd9ebb2b9d4bab16dfdce88547f9867ea6153.tar.gz
blackbird-obmc-linux-c29fd9ebb2b9d4bab16dfdce88547f9867ea6153.zip
gpiolib: Export gpiod_configure_flags() to internal users
This is preparatory patch for enabling GPIO ACPI to configure a pin accordingly. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib.c')
-rw-r--r--drivers/gpio/gpiolib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index c81c42093ff6..28629b2b2510 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -3224,7 +3224,7 @@ EXPORT_SYMBOL_GPL(gpiod_get_optional);
* requested function and/or index, or another IS_ERR() code if an error
* occurred while trying to acquire the GPIO.
*/
-static int gpiod_configure_flags(struct gpio_desc *desc, const char *con_id,
+int gpiod_configure_flags(struct gpio_desc *desc, const char *con_id,
unsigned long lflags, enum gpiod_flags dflags)
{
int status;
OpenPOWER on IntegriCloud