Fix phy_read/write redefinition errors in ucc_geth_phy.c
authorTimur Tabi <timur@freescale.com>
Thu, 18 Jan 2007 17:09:35 +0000 (11:09 -0600)
committerJeff Garzik <jeff@garzik.org>
Thu, 18 Jan 2007 17:17:02 +0000 (12:17 -0500)
commit6bf446522b246194551cf167f0168792080d6118
tree805659e5f334a00ae24976f0ab4f1f8f0f27e7bf
parentdf19b6b020791b4c42e7cf2e4f582454cbc49251
Fix phy_read/write redefinition errors in ucc_geth_phy.c

The local versions of phy_read() and phy_write() in ucc_geth_phy.c conflict
with the prototypes in include/linux/phy.h, so this patch renames them,
moves them to the top of the file (while eliminating the redundant prototype),
and makes them static.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ucc_geth_phy.c