brcm47xx: add function to get a gpio pin by name
[openwrt/staging/wigyori.git] / target / linux / brcm47xx / patches-3.10 / 820-wgt634u-nvram-fix.patch
index cf21550239bfab33465e1deb184765dc3eb51219..96b6ed84c158052ee07234fbc0f706c5d9ecbe2d 100644 (file)
@@ -294,7 +294,7 @@ out the configuration than the in kernel cfe config reader.
        /* Look for name=value and return value */
        var = &nvram_buf[sizeof(struct nvram_header)];
        end = nvram_buf + sizeof(nvram_buf) - 2;
-@@ -201,6 +230,9 @@ char *nvram_get(const char *name)
+@@ -221,6 +250,9 @@ char *nvram_get(const char *name)
        if (!nvram_buf[0])
                nvram_init();