phy devices: use same arg types
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 5 Feb 2007 18:44:20 +0000 (10:44 -0800)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Feb 2007 21:34:13 +0000 (16:34 -0500)
commit1a1689344add3333d28d1b5495d8043a3877d01c
treef715e9b5c91ae23d794cea45302f541b939fe09a
parenta3cc2de9138f1ee1581f55927f33f7d72ed6207d
phy devices: use same arg types

sparse complains about differing types from prototype to
definition, so change the u32 to phy_interface_t:

drivers/net/phy/phy_device.c:140:19: error: symbol 'phy_connect' redeclared with different type (originally declared at include/linux/phy.h:362) - incompatible argument 5 (different signedness)
drivers/net/phy/phy_device.c:190:19: error: symbol 'phy_attach' redeclared with different type (originally declared at include/linux/phy.h:360) - incompatible argument 4 (different signedness)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/phy/phy_device.c