|
@@ -807,7 +807,7 @@ fec_enet_interrupt(int irq, void *dev_id)
|
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
|
-static void __inline__ fec_get_mac(struct net_device *ndev)
|
|
|
+static void fec_get_mac(struct net_device *ndev)
|
|
|
{
|
|
|
struct fec_enet_private *fep = netdev_priv(ndev);
|
|
|
struct fec_platform_data *pdata = fep->pdev->dev.platform_data;
|
|
@@ -1592,12 +1592,12 @@ static void fec_reset_phy(struct platform_device *pdev)
|
|
|
gpio_set_value(phy_reset, 1);
|
|
|
}
|
|
|
#else /* CONFIG_OF */
|
|
|
-static inline int fec_get_phy_mode_dt(struct platform_device *pdev)
|
|
|
+static int fec_get_phy_mode_dt(struct platform_device *pdev)
|
|
|
{
|
|
|
return -ENODEV;
|
|
|
}
|
|
|
|
|
|
-static inline void fec_reset_phy(struct platform_device *pdev)
|
|
|
+static void fec_reset_phy(struct platform_device *pdev)
|
|
|
{
|
|
|
/*
|
|
|
* In case of platform probe, the reset has been done
|