3.10.4-rt1 : too many arguments to function 'phy_connect'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

When i compile this version (3.10.4-rt1) for typical da850 (arm omap) config i get this error :

  CC      drivers/net/ethernet/ti/davinci_emac.o
drivers/net/ethernet/ti/davinci_emac.c: In function 'emac_dev_open':
drivers/net/ethernet/ti/davinci_emac.c:1604:9: error: too many arguments to function 'phy_connect'
         PHY_INTERFACE_MODE_MII);
         ^
In file included from drivers/net/ethernet/ti/davinci_emac.c:56:0:
include/linux/phy.h:522:21: note: declared here
struct phy_device * phy_connect(struct net_device *dev, const char *bus_id,
                     ^

There are some suspect lines in the patch that add an extra argument to the phy_connect function without modifying its signature.

The compilation complete if i remove this extra arg (but the kernel don't start, i will check my config for this point).

Regards.

Paul.

PS : please CC me, i haven't subscribed to this list.
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux