]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
net/bfin_mac.c MDIO namespace fixes
authorAdrian Bunk <bunk@kernel.org>
Mon, 13 Oct 2008 04:15:17 +0000 (21:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Oct 2008 04:15:17 +0000 (21:15 -0700)
commit0ed0563e14dcb9986241d30f08ecd33f9bcc3572
treeb97dab46ad2ac0e5cb3daff1485200c3833e8384
parent1947b36d8f7eb706972bd50fceb063d317d62570
net/bfin_mac.c MDIO namespace fixes

Commit 2e888103295f47b8fcbf7e9bb8c5da97dd2ecd76
(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: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bfin_mac.c