igb: simplify pci ops declaration
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Wed, 6 Mar 2024 02:50:21 +0000 (18:50 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 29 Mar 2024 15:58:43 +0000 (08:58 -0700)
commit47220a1e0b701d144ef20131f31566cf0815095f
tree4ec62d39d3929dc6af3a770d29155ae76827b72c
parentda493dbb1f2a156a1b6d8d8a447f2c3affe43678
igb: simplify pci ops declaration

The igb driver was pre-declaring tons of functions just so that it could
have an early declaration of the pci_driver struct.

Delete a bunch of the declarations and move the struct to the bottom of the
file, after all the functions are declared.

Reviewed-by: Alan Brady <alan.brady@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c