net/au1000_eth.c MDIO namespace fixes
authorAdrian Bunk <bunk@kernel.org>
Mon, 13 Oct 2008 04:02:19 +0000 (21:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Oct 2008 04:02:19 +0000 (21:02 -0700)
commit1210dde7b39fef3120464d9f3660631689d1c0ed
tree36e483e02b5cc777128c985763dcefc289a3e892
parent51cf756c0a056dfb3d7ccdddff3b055cbf44a31c
net/au1000_eth.c MDIO namespace fixes

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