diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-04-01 12:06:48 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-04 16:20:06 -0400 |
commit | ce57d9e694d98e421e329fbac5d6f5dc5e9e101e (patch) | |
tree | f22695ac2aa83c5d90d583f222e219ddf1d0f912 /drivers/ssb | |
parent | 832fd35a545ecde11082d2dab74dd0aef8e0505e (diff) | |
download | linux-3.10-ce57d9e694d98e421e329fbac5d6f5dc5e9e101e.tar.gz linux-3.10-ce57d9e694d98e421e329fbac5d6f5dc5e9e101e.tar.bz2 linux-3.10-ce57d9e694d98e421e329fbac5d6f5dc5e9e101e.zip |
ssb: trivial: use u8 for chip_rev (it's mask is 0xF)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/ssb')
-rw-r--r-- | drivers/ssb/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ssb/scan.c b/drivers/ssb/scan.c index 29884c00c4d..7dca719fbcf 100644 --- a/drivers/ssb/scan.c +++ b/drivers/ssb/scan.c @@ -307,7 +307,7 @@ int ssb_bus_scan(struct ssb_bus *bus, } else { if (bus->bustype == SSB_BUSTYPE_PCI) { bus->chip_id = pcidev_to_chipid(bus->host_pci); - pci_read_config_word(bus->host_pci, PCI_REVISION_ID, + pci_read_config_byte(bus->host_pci, PCI_REVISION_ID, &bus->chip_rev); bus->chip_package = 0; } else { |