Skip to content

Commit

Permalink
igc: Add 'igc_ethtool_' prefix to functions in igc_ethtool.c
Browse files Browse the repository at this point in the history
This patch adds the prefix 'igc_ethtool_' to all functions defined in
igc_ethtool.c so they align with the name convention already followed by
other parts of the driver (e.g. igc_tsn, igc_ptp). Also, this avoids
some name clashing with functions added to igc_main.c by upcoming
patches in this series. No functionality is changed by this patch, just
function renaming.

Signed-off-by: Andre Guedes <andre.guedes@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
  • Loading branch information
Andre Guedes authored and Jeff Kirsher committed May 21, 2020
1 parent 876ea04 commit 7df76bd
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 108 deletions.
3 changes: 1 addition & 2 deletions drivers/net/ethernet/intel/igc/igc.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

#include "igc_hw.h"

/* forward declaration */
void igc_set_ethtool_ops(struct net_device *);
void igc_ethtool_set_ops(struct net_device *);

/* Transmit and receive queues */
#define IGC_MAX_RX_QUEUES 4
Expand Down
Loading

0 comments on commit 7df76bd

Please sign in to comment.