fsl_pq_mdio: Fix fsl_pq_mdio to work with modules
authorIonut Nicu <ionut.nicu@freescale.com>
Wed, 24 Jun 2009 22:23:39 +0000 (22:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jun 2009 03:03:53 +0000 (20:03 -0700)
commite2a61fa31382b1ac2b22f76f9c439892e5dc4b86
tree9664d739beb3d23fa31e23c1f4925d68599d019f
parenta1faa69810b2af562b70b2a71c116c7d03575dd3
fsl_pq_mdio: Fix fsl_pq_mdio to work with modules

This patch fixes the case when ucc_geth or gianfar are compiled
as modules. Without this patch the call to phy_connect() fails.

Signed-off-by: Ionut Nicu <ionut.nicu@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fsl_pq_mdio.c