brcm47xx: add support for kernel 3.6
[openwrt/svn-archive/archive.git] / target / linux / brcm47xx / patches-3.6 / 194-MIPS-BCM47XX-read-sprom-without-prefix-if-no-ieee802.patch
1 --- a/arch/mips/bcm47xx/setup.c
2 +++ b/arch/mips/bcm47xx/setup.c
3 @@ -206,6 +206,8 @@ static int bcm47xx_get_sprom_bcma(struct
4 snprintf(prefix, sizeof(prefix), "sb/%u/",
5 core->core_index);
6 bcm47xx_fill_sprom(out, prefix);
7 + } else {
8 + bcm47xx_fill_sprom(out, NULL);
9 }
10 return 0;
11 default: