brcm47xx: add fallback sprom for pci devices without an own sprom.
[openwrt/svn-archive/archive.git] / target / linux / brcm47xx / patches-2.6.37 / 820-wgt634u-nvram-fix.patch
index 9ed4a4de4a92c0bcd7f5a536f7d51f63bea2463e..29e12a81b9208d01315ca6d31668aa29b5175e89 100644 (file)
@@ -253,8 +253,8 @@ out the configuration than the in kernel cfe config reader.
 +extern char *cfe_env_get(char *nv_buf, const char *name);
  
  /* Probe for NVRAM header */
- static void __init early_nvram_init(void)
-@@ -33,6 +35,25 @@ static void __init early_nvram_init(void
+ static void early_nvram_init(void)
+@@ -33,6 +35,25 @@ static void early_nvram_init(void)
  
        base = mcore->flash_window;
        lim = mcore->flash_window_size;