summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-08-28 18:47:22 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-09-13 15:42:30 -0400
commite2d646ce6cc638d229b3079981d5b0c7bc95db7f (patch)
tree336edd20091933392946a6360212a8594852e525 /include
parent39f7d33c499980267f68fcb1fadd03bdcbc9ab9a (diff)
downloadop-kernel-dev-e2d646ce6cc638d229b3079981d5b0c7bc95db7f.zip
op-kernel-dev-e2d646ce6cc638d229b3079981d5b0c7bc95db7f.tar.gz
ssb: use u16 for storing board rev
Specs say about size 2 (u16) and my 14e4:4727 has board rev 0x1211. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-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 8623217..f10ed7b 100644
--- a/include/linux/ssb/ssb.h
+++ b/include/linux/ssb/ssb.h
@@ -25,7 +25,7 @@ struct ssb_sprom {
u8 et1phyaddr; /* MII address for enet1 */
u8 et0mdcport; /* MDIO for enet0 */
u8 et1mdcport; /* MDIO for enet1 */
- u8 board_rev; /* Board revision number from SPROM. */
+ u16 board_rev; /* Board revision number from SPROM. */
u8 country_code; /* Country Code */
u16 leddc_on_time; /* LED Powersave Duty Cycle On Count */
u16 leddc_off_time; /* LED Powersave Duty Cycle Off Count */
OpenPOWER on IntegriCloud