summaryrefslogtreecommitdiffstats
path: root/include/linux/ssb
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-04-01 12:06:48 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-04-04 16:20:06 -0400
commitce57d9e694d98e421e329fbac5d6f5dc5e9e101e (patch)
treef22695ac2aa83c5d90d583f222e219ddf1d0f912 /include/linux/ssb
parent832fd35a545ecde11082d2dab74dd0aef8e0505e (diff)
downloadop-kernel-dev-ce57d9e694d98e421e329fbac5d6f5dc5e9e101e.zip
op-kernel-dev-ce57d9e694d98e421e329fbac5d6f5dc5e9e101e.tar.gz
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 'include/linux/ssb')
-rw-r--r--include/linux/ssb/ssb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ssb/ssb.h b/include/linux/ssb/ssb.h
index 9659eff..7e99b34 100644
--- a/include/linux/ssb/ssb.h
+++ b/include/linux/ssb/ssb.h
@@ -308,7 +308,7 @@ struct ssb_bus {
/* ID information about the Chip. */
u16 chip_id;
- u16 chip_rev;
+ u8 chip_rev;
u16 sprom_offset;
u16 sprom_size; /* number of words in sprom */
u8 chip_package;
OpenPOWER on IntegriCloud