diff options
author | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2010-10-22 18:07:00 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-24 21:44:19 -0400 |
commit | 8df399018df120d28f89fda6f2515cc6e096e43d (patch) | |
tree | 7c458eef8c0f3f75eab07a8204e79c45def7853d /drivers/i2c | |
parent | de9186c257acb06ca8187cff1c94412b5f80a3bd (diff) |
sh: i2c-sh7760: Replase from ctrl_* to __raw_*
ctrl_* is deprecated. We should to use __raw_*.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-sh7760.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-sh7760.c b/drivers/i2c/busses/i2c-sh7760.c index 4f93da31d3ad..3cad8fecc3d3 100644 --- a/drivers/i2c/busses/i2c-sh7760.c +++ b/drivers/i2c/busses/i2c-sh7760.c | |||
@@ -101,12 +101,12 @@ struct cami2c { | |||
101 | 101 | ||
102 | static inline void OUT32(struct cami2c *cam, int reg, unsigned long val) | 102 | static inline void OUT32(struct cami2c *cam, int reg, unsigned long val) |
103 | { | 103 | { |
104 | ctrl_outl(val, (unsigned long)cam->iobase + reg); | 104 | __raw_writel(val, (unsigned long)cam->iobase + reg); |
105 | } | 105 | } |
106 | 106 | ||
107 | static inline unsigned long IN32(struct cami2c *cam, int reg) | 107 | static inline unsigned long IN32(struct cami2c *cam, int reg) |
108 | { | 108 | { |
109 | return ctrl_inl((unsigned long)cam->iobase + reg); | 109 | return __raw_readl((unsigned long)cam->iobase + reg); |
110 | } | 110 | } |
111 | 111 | ||
112 | static irqreturn_t sh7760_i2c_irq(int irq, void *ptr) | 112 | static irqreturn_t sh7760_i2c_irq(int irq, void *ptr) |