Changeset 30876


Ignore:
Timestamp:
2012-03-11T14:36:46+01:00 (6 years ago)
Author:
hauke
Message:

brcm47xx: make patch apply

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm47xx/patches-3.2/231-bcma_reorder_sprom_fill.patch

    r30873 r30876  
    1717  
    1818        if (nvram_getenv("cardbus", buf, sizeof(buf)) >= 0) 
    19 @@ -204,12 +206,14 @@ static int bcm47xx_get_sprom_bcma(struct 
     19@@ -203,12 +205,14 @@ static int bcm47xx_get_sprom_bcma(struct 
     20        struct bcma_device *core; 
    2021  
    21         switch (bus->hosttype) { 
    22         case BCMA_HOSTTYPE_PCI: 
     22        if (bus->hosttype == BCMA_HOSTTYPE_PCI) { 
    2323+               memset(out, 0, sizeof(struct ssb_sprom)); 
    2424                snprintf(prefix, sizeof(prefix), "pci/%u/%u/", 
     
    2727                bcm47xx_fill_sprom(out, prefix); 
    2828                return 0; 
    29         case BCMA_HOSTTYPE_SOC: 
     29        } else if (bus->hosttype == BCMA_HOSTTYPE_SOC) { 
    3030+               memset(out, 0, sizeof(struct ssb_sprom)); 
    3131                bcm47xx_fill_sprom_ethernet(out, NULL); 
Note: See TracChangeset for help on using the changeset viewer.