projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
691e412
)
ixgbe: make ixgbe_led_on/off_t_x550em static
author
Emil Tantilov
<
[email protected]
>
Mon, 22 Aug 2016 23:28:34 +0000
(16:28 -0700)
committer
Jeff Kirsher
<
[email protected]
>
Fri, 23 Sep 2016 07:12:08 +0000
(
00:12
-0700)
These functions are only used in ixgbe_x550.c.
Fixes a warning when compiling with -Wmissing-prototypes
Reported-by: Krishneil Singh <
[email protected]
>
Signed-off-by: Emil Tantilov <
[email protected]
>
Tested-by: Andrew Bowers <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c
b/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c
index e092a892941330ad348b133476f7ec4a01e5b6af..dec8b116e6a2f1a4dd2a2d0e89d3e541ac6a7aa5 100644
(file)
--- a/
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c
+++ b/
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c
@@
-2125,7
+2125,7
@@
static s32 ixgbe_reset_phy_t_X550em(struct ixgbe_hw *hw)
* @hw: pointer to hardware structure
* @led_idx: led number to turn on
**/
-s32 ixgbe_led_on_t_x550em(struct ixgbe_hw *hw, u32 led_idx)
+s
tatic s
32 ixgbe_led_on_t_x550em(struct ixgbe_hw *hw, u32 led_idx)
{
u16 phy_data;
@@
-2147,7
+2147,7
@@
s32 ixgbe_led_on_t_x550em(struct ixgbe_hw *hw, u32 led_idx)
* @hw: pointer to hardware structure
* @led_idx: led number to turn off
**/
-s32 ixgbe_led_off_t_x550em(struct ixgbe_hw *hw, u32 led_idx)
+s
tatic s
32 ixgbe_led_off_t_x550em(struct ixgbe_hw *hw, u32 led_idx)
{
u16 phy_data;