• Adrian Bunk's avatar
    net/bfin_mac.c MDIO namespace fixes · 0ed0563e
    Adrian Bunk authored
    Commit 2e888103
    (phylib: add mdiobus_{read,write}) causes the
    following compile error:
    
    <--  snip  -->
    
    ...
      CC      drivers/net/bfin_mac.o
    drivers/net/bfin_mac.c:272: error: conflicting types for 'mdiobus_read'
    include/linux/phy.h:130: error: previous declaration of 'mdiobus_read' was here
    drivers/net/bfin_mac.c:287: error: conflicting types for 'mdiobus_write'
    include/linux/phy.h:131: error: previous declaration of 'mdiobus_write' was here
    make[3]: *** [drivers/net/bfin_mac.o] Error 1
    
    <--  snip  -->
    
    This patch prefixes the driver functions with bfin_
    Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    0ed0563e
bfin_mac.c 28.7 KB