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:
parent
d1e8496eda
commit
7d993c5f86
File diff suppressed because it is too large
Load Diff
@ -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;
|
||||
|
@ -45,19 +45,6 @@
|
||||
|
||||
#define GFAR_MAX_COAL_USECS 0xffff
|
||||
#define GFAR_MAX_COAL_FRAMES 0xff
|
||||
static void gfar_fill_stats(struct net_device *dev, struct ethtool_stats *dummy,
|
||||
u64 *buf);
|
||||
static void gfar_gstrings(struct net_device *dev, u32 stringset, u8 * buf);
|
||||
static int gfar_gcoalesce(struct net_device *dev,
|
||||
struct ethtool_coalesce *cvals);
|
||||
static int gfar_scoalesce(struct net_device *dev,
|
||||
struct ethtool_coalesce *cvals);
|
||||
static void gfar_gringparam(struct net_device *dev,
|
||||
struct ethtool_ringparam *rvals);
|
||||
static int gfar_sringparam(struct net_device *dev,
|
||||
struct ethtool_ringparam *rvals);
|
||||
static void gfar_gdrvinfo(struct net_device *dev,
|
||||
struct ethtool_drvinfo *drvinfo);
|
||||
|
||||
static const char stat_gstrings[][ETH_GSTRING_LEN] = {
|
||||
/* extra stats */
|
||||
|
Loading…
Reference in New Issue
Block a user