net: smc91x: use io{read, write}*_rep accessors instead of string functions
authorWill Deacon <will.deacon@arm.com>
Mon, 10 Dec 2012 09:12:35 +0000 (09:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Dec 2012 20:43:58 +0000 (15:43 -0500)
commit4ba73aa1c9223f8f0dd5bb358dfea70309672d99
treed435aa234378bf0ec9c9be17b594a80e33c7f134
parent6e73d71d8485607c692302d2058894588e3a387f
net: smc91x: use io{read, write}*_rep accessors instead of string functions

The {read,write}s{b,w,l} operations are not defined by all architectures
and are being removed from the asm-generic/io.h interface.

This patch replaces the usage of these string functions in the default
SMC accessors with io{read,write}{8,16,32}_rep calls instead, which are
defined for all architectures.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Ben Herrenschmidt <benh@kernel.crashing.org>
Cc: Nicolas Pitre <nico@fluxnic.net>
Cc: netdev@vger.kernel.org
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smc91x.h