gianfar: remove forward declarations
Remove forward declarations of various static functions located in two driver implementation files and rearrange the corresponding definitions accordingly. This patch only introduces mechanical changes, namely it removes forward declarations and moves function definitions around; it does not change any functionality. Signed-off-by: Arseny Solokha <asolokha@kb.kras.ru> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
d1e8496eda
commit
7d993c5f86
@@ -1326,16 +1326,9 @@ static inline u32 gfar_rxbd_dma_lastfree(struct gfar_priv_rx_q *rxq)
|
||||
return bdp_dma;
|
||||
}
|
||||
|
||||
irqreturn_t gfar_receive(int irq, void *dev_id);
|
||||
int startup_gfar(struct net_device *dev);
|
||||
void stop_gfar(struct net_device *dev);
|
||||
void reset_gfar(struct net_device *dev);
|
||||
void gfar_mac_reset(struct gfar_private *priv);
|
||||
void gfar_halt(struct gfar_private *priv);
|
||||
void gfar_start(struct gfar_private *priv);
|
||||
void gfar_phy_test(struct mii_bus *bus, struct phy_device *phydev, int enable,
|
||||
u32 regnum, u32 read);
|
||||
void gfar_configure_coalescing_all(struct gfar_private *priv);
|
||||
int gfar_set_features(struct net_device *dev, netdev_features_t features);
|
||||
|
||||
extern const struct ethtool_ops gfar_ethtool_ops;
|
||||
|
Reference in New Issue
Block a user