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