diff options
-rw-r--r-- | arch/mips/au1000/common/platform.c | 4 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-au1550.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/au1000/common/platform.c b/arch/mips/au1000/common/platform.c index 31d2a2270878..dbefa9ef63b5 100644 --- a/arch/mips/au1000/common/platform.c +++ b/arch/mips/au1000/common/platform.c | |||
@@ -269,8 +269,8 @@ static struct platform_device au1x00_pcmcia_device = { | |||
269 | #ifdef SMBUS_PSC_BASE | 269 | #ifdef SMBUS_PSC_BASE |
270 | static struct resource pbdb_smbus_resources[] = { | 270 | static struct resource pbdb_smbus_resources[] = { |
271 | { | 271 | { |
272 | .start = SMBUS_PSC_BASE, | 272 | .start = CPHYSADDR(SMBUS_PSC_BASE), |
273 | .end = SMBUS_PSC_BASE + 0x24 - 1, | 273 | .end = CPHYSADDR(SMBUS_PSC_BASE + 0xfffff), |
274 | .flags = IORESOURCE_MEM, | 274 | .flags = IORESOURCE_MEM, |
275 | }, | 275 | }, |
276 | }; | 276 | }; |
diff --git a/drivers/i2c/busses/i2c-au1550.c b/drivers/i2c/busses/i2c-au1550.c index 491718fe46b7..cae9dc89d88c 100644 --- a/drivers/i2c/busses/i2c-au1550.c +++ b/drivers/i2c/busses/i2c-au1550.c | |||
@@ -335,7 +335,7 @@ i2c_au1550_probe(struct platform_device *pdev) | |||
335 | goto out_mem; | 335 | goto out_mem; |
336 | } | 336 | } |
337 | 337 | ||
338 | priv->psc_base = r->start; | 338 | priv->psc_base = CKSEG1ADDR(r->start); |
339 | priv->xfer_timeout = 200; | 339 | priv->xfer_timeout = 200; |
340 | priv->ack_timeout = 200; | 340 | priv->ack_timeout = 200; |
341 | 341 | ||