mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
sh: i2c-sh7760: Replase from ctrl_* to __raw_*
ctrl_* is deprecated. We should to use __raw_*. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
This commit is contained in:
parent
de9186c257
commit
8df399018d
1 changed files with 2 additions and 2 deletions
|
|
@ -101,12 +101,12 @@ struct cami2c {
|
|||
|
||||
static inline void OUT32(struct cami2c *cam, int reg, unsigned long val)
|
||||
{
|
||||
ctrl_outl(val, (unsigned long)cam->iobase + reg);
|
||||
__raw_writel(val, (unsigned long)cam->iobase + reg);
|
||||
}
|
||||
|
||||
static inline unsigned long IN32(struct cami2c *cam, int reg)
|
||||
{
|
||||
return ctrl_inl((unsigned long)cam->iobase + reg);
|
||||
return __raw_readl((unsigned long)cam->iobase + reg);
|
||||
}
|
||||
|
||||
static irqreturn_t sh7760_i2c_irq(int irq, void *ptr)
|
||||
|
|
|
|||
Loading…
Reference in a new issue