[U-Boot] [PATCH] smc911x: Fix build warnings
Wolfgang Denk
wd at denx.de
Fri Sep 9 23:57:34 CEST 2011
Dear Wolfgang Denk,
In message <1315479867-23506-1-git-send-email-wd at denx.de> you wrote:
> 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 at denx.de>
> Cc: Helmut Raiger <helmut.raiger at hale.at>
> ---
> drivers/net/smc911x.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You! What PLANET is this!
-- McCoy, "The City on the Edge of Forever", stardate 3134.0
More information about the U-Boot
mailing list