]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: mv64xxx: Do not use writel_relaxed()
authorThierry Reding <thierry.reding@gmail.com>
Wed, 18 Sep 2013 12:51:40 +0000 (14:51 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 27 Sep 2013 16:12:30 +0000 (18:12 +0200)
commit821c65f753a98f19f2b08b69ce8cf79ba2754ea8
treef936592099cedebf252e05fd0f692f0be81d7d14
parent0236b5798ac7d8bcdccc46cbc10c0146bd24c793
i2c: mv64xxx: Do not use writel_relaxed()

The driver is used on PowerPC which don't provide writel_relaxed(). This
breaks the c2k and prpmc2800 default configurations. To fix the build,
turn the calls to writel_relaxed() into writel(). The impacts for ARM
should be minimal.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-mv64xxx.c