smc911x: Fix build warnings
authorWolfgang Denk <wd@denx.de>
Thu, 8 Sep 2011 01:04:27 +0000 (01:04 +0000)
committerWolfgang Denk <wd@denx.de>
Fri, 9 Sep 2011 21:57:24 +0000 (23:57 +0200)
commit24e1664472deef23abb3246da8573ddefc0c7971
treec594eb3026ab01a43a106ee955252fd9af620235
parent6f2a4be94154d08231927aefe6705353a1cd9864
smc911x: Fix build warnings

Commit 6af1d41 "smc911x MII made available" was missing a few "const"
qualifiers.  Fix the resulting in build warnings:

smc911x.c: In function 'smc911x_initialize':
smc911x.c:297: warning: passing argument 2 of 'miiphy_register' from incompatible pointer type
smc911x.c:297: warning: passing argument 3 of 'miiphy_register' from incompatible pointer type

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Helmut Raiger <helmut.raiger@hale.at>
drivers/net/smc911x.c