]> 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)
commit6cc07cae1e2c023cdb049192840fa07c93c2e73e
treef936592099cedebf252e05fd0f692f0be81d7d14
parent357662ad282af9db54d91439f18a3c025be2feb3
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