]> git.sur5r.net Git - u-boot/commit
net: eepro100: Fix build warnings
authorBin Meng <bmeng.cn@gmail.com>
Mon, 25 Jan 2016 09:26:26 +0000 (01:26 -0800)
committerTom Rini <trini@konsulko.com>
Mon, 25 Jan 2016 15:40:01 +0000 (10:40 -0500)
commite6655d7c23b5645602f6b1143d5e6ec858e3a431
tree2ceb9362ebddfc4e76db606f14d61768abb91faa
parent4019e54dc69ef088a46ef644b9cc2deee498c148
net: eepro100: Fix build warnings

When building katmai, it reports quite a lot

  warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

Fix this by casting the dev->iobase with u_long.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/eepro100.c