X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Flantiq%2Fpatches-4.1%2F0030-GPIO-add-named-gpio-exports.patch;h=6badfe30fa4ca28ce4ca8c30665bc3084dde6602;hb=479e3a5817998f15ba05da539d32bc209f825094;hp=a72a6dad6895471203b3dfaba47a1e93d6e99e15;hpb=0e33b261cd3d47f5421f0dd4b68ece503cfd13ea;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/target/linux/lantiq/patches-4.1/0030-GPIO-add-named-gpio-exports.patch b/target/linux/lantiq/patches-4.1/0030-GPIO-add-named-gpio-exports.patch index a72a6dad68..6badfe30fa 100644 --- a/target/linux/lantiq/patches-4.1/0030-GPIO-add-named-gpio-exports.patch +++ b/target/linux/lantiq/patches-4.1/0030-GPIO-add-named-gpio-exports.patch @@ -109,7 +109,7 @@ Signed-off-by: John Crispin { --- a/include/linux/gpio/consumer.h +++ b/include/linux/gpio/consumer.h -@@ -446,6 +446,7 @@ static inline int desc_to_gpio(const str +@@ -461,6 +461,7 @@ static inline struct gpio_desc *devm_get #if IS_ENABLED(CONFIG_GPIOLIB) && IS_ENABLED(CONFIG_GPIO_SYSFS) @@ -117,7 +117,7 @@ Signed-off-by: John Crispin int gpiod_export(struct gpio_desc *desc, bool direction_may_change); int gpiod_export_link(struct device *dev, const char *name, struct gpio_desc *desc); -@@ -454,6 +455,13 @@ void gpiod_unexport(struct gpio_desc *de +@@ -469,6 +470,13 @@ void gpiod_unexport(struct gpio_desc *de #else /* CONFIG_GPIOLIB && CONFIG_GPIO_SYSFS */