diff options
author | Gábor Stefanik <netrolller.3d@gmail.com> | 2009-08-14 14:11:53 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-20 11:35:53 -0400 |
commit | f0ea6ce14ae2a72a353ddf8ab370c09ba403d897 (patch) | |
tree | 3381c527e63dde062c9731ebd8dc994b909c3d95 /drivers/ssb | |
parent | c46aaba74f37448f0a1a3e911230834b7ebe514f (diff) | |
download | kernel_samsung_smdk4412-f0ea6ce14ae2a72a353ddf8ab370c09ba403d897.zip kernel_samsung_smdk4412-f0ea6ce14ae2a72a353ddf8ab370c09ba403d897.tar.gz kernel_samsung_smdk4412-f0ea6ce14ae2a72a353ddf8ab370c09ba403d897.tar.bz2 |
ssb: Fix typo in the rev8 SPROM extraction routine
No comment. :-)
Signed-off-by: Gábor Stefanik <netrolller.3d@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/ssb')
-rw-r--r-- | drivers/ssb/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ssb/pci.c b/drivers/ssb/pci.c index 593fc61..f853d56 100644 --- a/drivers/ssb/pci.c +++ b/drivers/ssb/pci.c @@ -480,7 +480,7 @@ static void sprom_extract_r8(struct ssb_sprom *out, const u16 *in) /* extract the MAC address */ for (i = 0; i < 3; i++) { - v = in[SPOFF(SSB_SPROM1_IL0MAC) + i]; + v = in[SPOFF(SSB_SPROM8_IL0MAC) + i]; *(((__be16 *)out->il0mac) + i) = cpu_to_be16(v); } SPEX(country_code, SSB_SPROM8_CCODE, 0xFFFF, 0); |