1 --- a/drivers/ssb/driver_pcicore.c
2 +++ b/drivers/ssb/driver_pcicore.c
3 @@ -412,16 +412,6 @@ static int __devinit pcicore_is_in_hostm
5 **************************************************/
7 -static void __devinit ssb_pcicore_fix_sprom_core_index(struct ssb_pcicore *pc)
9 - u16 tmp = pcicore_read16(pc, SSB_PCICORE_SPROM(0));
10 - if (((tmp & 0xF000) >> 12) != pc->dev->core_index) {
12 - tmp |= (pc->dev->core_index << 12);
13 - pcicore_write16(pc, SSB_PCICORE_SPROM(0), tmp);
17 static u8 ssb_pcicore_polarity_workaround(struct ssb_pcicore *pc)
19 return (ssb_pcie_read(pc, 0x204) & 0x10) ? 0xC0 : 0x80;
20 @@ -529,8 +519,6 @@ void __devinit ssb_pcicore_init(struct s
21 if (!ssb_device_is_enabled(dev))
22 ssb_device_enable(dev, 0);
24 - ssb_pcicore_fix_sprom_core_index(pc);
26 #ifdef CONFIG_SSB_PCICORE_HOSTMODE
27 pc->hostmode = pcicore_is_in_hostmode(pc);