aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/b44.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/b44.c b/drivers/net/b44.c
index ebb726e655ac..1ec217433b4c 100644
--- a/drivers/net/b44.c
+++ b/drivers/net/b44.c
@@ -2056,7 +2056,7 @@ static int b44_read_eeprom(struct b44 *bp, u8 *data)
2056 u16 *ptr = (u16 *) data; 2056 u16 *ptr = (u16 *) data;
2057 2057
2058 for (i = 0; i < 128; i += 2) 2058 for (i = 0; i < 128; i += 2)
2059 ptr[i / 2] = readw(bp->regs + 4096 + i); 2059 ptr[i / 2] = cpu_to_le16(readw(bp->regs + 4096 + i));
2060 2060
2061 return 0; 2061 return 0;
2062} 2062}