linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 3.10.4-rt1 : too many arguments to function 'phy_connect'
@ 2013-08-12  7:31 Paul Chavent
  2013-08-12 11:12 ` Sebastian Andrzej Siewior
  2013-08-28 15:28 ` Paul Gortmaker
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Chavent @ 2013-08-12  7:31 UTC (permalink / raw)
  To: linux-rt-users; +Cc: Paul Chavent

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-28 15:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-12  7:31 3.10.4-rt1 : too many arguments to function 'phy_connect' Paul Chavent
2013-08-12 11:12 ` Sebastian Andrzej Siewior
2013-08-28 15:28 ` Paul Gortmaker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).