]> git.karo-electronics.de Git - linux-beck.git/commit
[ARM] 5600/1: ep93xx: core.c remove cast when copying dev_addr
authorHartley Sweeten <hartleys@visionengravers.com>
Mon, 13 Jul 2009 18:50:10 +0000 (19:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 17 Jul 2009 12:35:55 +0000 (13:35 +0100)
commit5b1c3c858cff4da95b9f7091eef424e706784cab
tree96612283c3467c9c402026f38e806de3b50df2ed
parentd19d36672ee379f26b79df985a9a2e5afb3f1df1
[ARM] 5600/1: ep93xx: core.c remove cast when copying dev_addr

The MAC address for the ep93xx ethernet driver can be optionally
copied from registers in the controller when booting.  Due to
[ARM] 5573/1: ep93xx: ensure typesafe io, the cast for the source
address is no longer needed.

EP93XX_ETHERNET_BASE is typed as a (void __iomem __force *) so
memcpy_fromio() needs to be used instead of memcpy().

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ep93xx/core.c