arm: fix i2c-pxa build
authorRussell King <rmk@arm.linux.org.uk>
Thu, 10 May 2007 10:15:32 +0000 (03:15 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 10 May 2007 16:26:52 +0000 (09:26 -0700)
From commit 7d054817b780e664bed6701b2aa637718e1905b7:
> According to the PXA27x developer's manual, we shall do so.

We shall also at least compile test our changes.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/i2c/busses/i2c-pxa.c

index 873544ab598e9b92695d9c9e6aa3ed0f09a6161b..8a0a99b93641d46b10efd56b09341e619cb15615 100644 (file)
@@ -548,7 +548,7 @@ static inline void i2c_pxa_stop_message(struct pxa_i2c *i2c)
         */
        icr = readl(_ICR(i2c));
        icr &= ~(ICR_STOP | ICR_ACKNAK);
-       writel(icr, _IRC(i2c));
+       writel(icr, _ICR(i2c));
 }
 
 /*