]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Use static inlines instead of macros
authorMark Rustad <mark.d.rustad@intel.com>
Wed, 15 Jan 2014 02:53:13 +0000 (18:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 02:59:17 +0000 (18:59 -0800)
commit9d8830099fd8e7569dbd492815afc00aac94b8a6
tree572fbd88995fe81126edc6b58f27ff74aa3d17ef
parent643829aaff6dae8b3a1f3a583c199140f376fd5b
ixgbe: Use static inlines instead of macros

Kernel coding standard prefers static inline functions instead
of macros, so use them for register accessors. This is to prepare
for adding LER, Live Error Recovery, checks to those accessors.

Temporarily provide macros for calling the new static inline
accessors until all references are changed.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_common.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c