diff options
author | John Crispin <john@openwrt.org> | 2012-05-27 16:12:59 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2012-05-27 16:12:59 +0000 |
commit | 800277052019b54e9a5669d086a4e96bf2dcbe75 (patch) | |
tree | 57a5594d93d1a6ff1cc4d897f7bc3551e8af6128 /target/linux/lantiq/patches-3.2/205-owrt-gpio-export.patch | |
parent | 81ddc886e172dae27ae9f15721d2ee34fc00d890 (diff) | |
download | upstream-800277052019b54e9a5669d086a4e96bf2dcbe75.tar.gz upstream-800277052019b54e9a5669d086a4e96bf2dcbe75.tar.bz2 upstream-800277052019b54e9a5669d086a4e96bf2dcbe75.zip |
3.2 R.I.P.
SVN-Revision: 31911
Diffstat (limited to 'target/linux/lantiq/patches-3.2/205-owrt-gpio-export.patch')
-rw-r--r-- | target/linux/lantiq/patches-3.2/205-owrt-gpio-export.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/target/linux/lantiq/patches-3.2/205-owrt-gpio-export.patch b/target/linux/lantiq/patches-3.2/205-owrt-gpio-export.patch deleted file mode 100644 index 670b224499..0000000000 --- a/target/linux/lantiq/patches-3.2/205-owrt-gpio-export.patch +++ /dev/null @@ -1,50 +0,0 @@ ---- a/drivers/gpio/gpiolib.c -+++ b/drivers/gpio/gpiolib.c -@@ -64,9 +64,9 @@ struct gpio_desc { - #define GPIO_FLAGS_MASK ((1 << ID_SHIFT) - 1) - #define GPIO_TRIGGER_MASK (BIT(FLAG_TRIG_FALL) | BIT(FLAG_TRIG_RISE)) - --#ifdef CONFIG_DEBUG_FS -+//#ifdef CONFIG_DEBUG_FS - const char *label; --#endif -+//#endif - }; - static struct gpio_desc gpio_desc[ARCH_NR_GPIOS]; - -@@ -76,9 +76,9 @@ static DEFINE_IDR(dirent_idr); - - static inline void desc_set_label(struct gpio_desc *d, const char *label) - { --#ifdef CONFIG_DEBUG_FS -+//#ifdef CONFIG_DEBUG_FS - d->label = label; --#endif -+//#endif - } - - /* Warn when drivers omit gpio_request() calls -- legal but ill-advised -@@ -727,7 +727,6 @@ int gpio_export(unsigned gpio, bool dire - - if (desc->chip->names && desc->chip->names[gpio - desc->chip->base]) - ioname = desc->chip->names[gpio - desc->chip->base]; -- - if (status == 0) { - struct device *dev; - -@@ -1347,11 +1346,11 @@ const char *gpiochip_is_requested(struct - return NULL; - if (test_bit(FLAG_REQUESTED, &gpio_desc[gpio].flags) == 0) - return NULL; --#ifdef CONFIG_DEBUG_FS -+//#ifdef CONFIG_DEBUG_FS - return gpio_desc[gpio].label; --#else -- return "?"; --#endif -+//#else -+// return "?"; -+//#endif - } - EXPORT_SYMBOL_GPL(gpiochip_is_requested); - |