Skip to content
Snippets Groups Projects
  • Wolfgang Denk's avatar
    24e16644
    smc911x: Fix build warnings · 24e16644
    Wolfgang Denk authored
    
    Commit 6af1d41a "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: default avatarWolfgang Denk <wd@denx.de>
    Cc: Helmut Raiger <helmut.raiger@hale.at>
    24e16644
    History
    smc911x: Fix build warnings
    Wolfgang Denk authored
    
    Commit 6af1d41a "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: default avatarWolfgang Denk <wd@denx.de>
    Cc: Helmut Raiger <helmut.raiger@hale.at>
smc911x.c 7.18 KiB