]> Pileus Git - ~andy/linux/commit
fmc: avoid readl/writel namespace conflict
authorArnd Bergmann <arnd@arndb.de>
Wed, 19 Jun 2013 10:49:30 +0000 (12:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Jun 2013 03:30:32 +0000 (20:30 -0700)
commitc2955da0e101c3432ae21945e5d77786adf1f094
tree7d20a487bd2fd00c7876d48d21e4dbd3d96555c8
parente42d50baf43120a78985f13f6e9c8f92fae091c2
fmc: avoid readl/writel namespace conflict

The use of the 'readl' and 'writel' identifiers here causes build errors on
architectures where those are macros. This renames the fields to read32/write32
to avoid the problem.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fmc/fmc-fakedev.c
include/linux/fmc.h