diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c index edd95013faf3..17f2105ec698 100644 --- a/drivers/staging/mt7621-pci/pci-mt7621.c +++ b/drivers/staging/mt7621-pci/pci-mt7621.c @@ -194,7 +194,8 @@ static int config_access(unsigned char access_type, struct pci_bus *bus, address_reg = RALINK_PCI_CONFIG_ADDR; data_reg = RALINK_PCI_CONFIG_DATA_VIRTUAL_REG; - address = (((where&0xF00)>>8)<<24) |(bus->number << 16) | (slot << 11) | (func << 8) | (where & 0xfc) | 0x80000000; + address = (((where&0xF00)>>8)<<24) |(bus->number << 16) | (slot << 11) | + (func << 8) | (where & 0xfc) | 0x80000000; MV_WRITE(address_reg, address); switch(access_type) {