summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-sibyte.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-08-09 19:07:57 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-09 21:08:21 +0200
commita242b44da6feb604c4c659b78f63dedb69b2d4a3 (patch)
treea493e87fa97137e1ae53a071df7128a23c515e52 /drivers/i2c/busses/i2c-sibyte.c
parent[PATCH] i8xx_tco.c: arm watchdog only when started (diff)
downloadlinux-a242b44da6feb604c4c659b78f63dedb69b2d4a3.tar.xz
linux-a242b44da6feb604c4c659b78f63dedb69b2d4a3.zip
[PATCH] Build fix for the Sibyte I2C driver
Compile fix for the BCM1250 I2C driver. Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-sibyte.c')
-rw-r--r--drivers/i2c/busses/i2c-sibyte.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-sibyte.c b/drivers/i2c/busses/i2c-sibyte.c
index 1c99536b673b..fa503ed9f86d 100644
--- a/drivers/i2c/busses/i2c-sibyte.c
+++ b/drivers/i2c/busses/i2c-sibyte.c
@@ -23,8 +23,8 @@
#include <asm/sibyte/sb1250_smbus.h>
static struct i2c_algo_sibyte_data sibyte_board_data[2] = {
- { NULL, 0, (void *) (KSEG1+A_SMB_BASE(0)) },
- { NULL, 1, (void *) (KSEG1+A_SMB_BASE(1)) }
+ { NULL, 0, (void *) (CKSEG1+A_SMB_BASE(0)) },
+ { NULL, 1, (void *) (CKSEG1+A_SMB_BASE(1)) }
};
static struct i2c_adapter sibyte_board_adapter[2] = {