net: smc91x: Do not cast pointer to int
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 9 May 2013 08:48:54 +0000 (08:48 +0000)
committerJon Medhurst <tixy@linaro.org>
Mon, 1 Jul 2013 10:04:35 +0000 (11:04 +0100)
commitf8b1ed7161bfa027a96775129e9dc34f7853d480
tree62b9eb7c769e326900b3ad9ae4dfdde56fbcc1f1
parent85705038621c022cffc4e36b3b60720d5dd421ec
net: smc91x: Do not cast pointer to int

The patch removes a compiler warning when casting the ioaddr pointer to
(unsigned int) in the smc_probe() function of the smc91x.c driver. The
casting is now done to (unsigned long).

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
drivers/net/ethernet/smsc/smc91x.c