diff options
Diffstat (limited to 'drivers/gpio/gpiolib.c')
-rw-r--r-- | drivers/gpio/gpiolib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 412d64e93cfb..768f0831db18 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c | |||
@@ -897,6 +897,7 @@ int gpiochip_request_own_desc(struct gpio_desc *desc, const char *label) | |||
897 | 897 | ||
898 | return __gpiod_request(desc, label); | 898 | return __gpiod_request(desc, label); |
899 | } | 899 | } |
900 | EXPORT_SYMBOL_GPL(gpiochip_request_own_desc); | ||
900 | 901 | ||
901 | /** | 902 | /** |
902 | * gpiochip_free_own_desc - Free GPIO requested by the chip driver | 903 | * gpiochip_free_own_desc - Free GPIO requested by the chip driver |
@@ -910,6 +911,7 @@ void gpiochip_free_own_desc(struct gpio_desc *desc) | |||
910 | if (desc) | 911 | if (desc) |
911 | __gpiod_free(desc); | 912 | __gpiod_free(desc); |
912 | } | 913 | } |
914 | EXPORT_SYMBOL_GPL(gpiochip_free_own_desc); | ||
913 | 915 | ||
914 | /* Drivers MUST set GPIO direction before making get/set calls. In | 916 | /* Drivers MUST set GPIO direction before making get/set calls. In |
915 | * some cases this is done in early boot, before IRQs are enabled. | 917 | * some cases this is done in early boot, before IRQs are enabled. |