diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2010-10-05 09:11:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-05 23:10:31 -0400 |
commit | 9ed51657f6ea2a08582d6a9be5404b044972b7e0 (patch) | |
tree | 9e3a09d87b8cabf7ee30cc87690cf6da648fdf6a /drivers | |
parent | 3f66116e89521ef71ab0d63dc07a639def88a577 (diff) |
ixgbevf: declare functions as static
Following patch fixes warnings reported by `make namespacecheck`
Reported by Stephen Hemminger
CC: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Acked-by: Greg Rose <greg.v.rose@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ixgbevf/mbx.c | 2 | ||||
-rw-r--r-- | drivers/net/ixgbevf/mbx.h | 2 | ||||
-rw-r--r-- | drivers/net/ixgbevf/vf.c | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/ixgbevf/mbx.c b/drivers/net/ixgbevf/mbx.c index b8143501e6fc..84ac486f4a65 100644 --- a/drivers/net/ixgbevf/mbx.c +++ b/drivers/net/ixgbevf/mbx.c | |||
@@ -308,7 +308,7 @@ out_no_read: | |||
308 | * | 308 | * |
309 | * Initializes the hw->mbx struct to correct values for vf mailbox | 309 | * Initializes the hw->mbx struct to correct values for vf mailbox |
310 | */ | 310 | */ |
311 | s32 ixgbevf_init_mbx_params_vf(struct ixgbe_hw *hw) | 311 | static s32 ixgbevf_init_mbx_params_vf(struct ixgbe_hw *hw) |
312 | { | 312 | { |
313 | struct ixgbe_mbx_info *mbx = &hw->mbx; | 313 | struct ixgbe_mbx_info *mbx = &hw->mbx; |
314 | 314 | ||
diff --git a/drivers/net/ixgbevf/mbx.h b/drivers/net/ixgbevf/mbx.h index 1b0e0bf4c0f5..8c063bebee7f 100644 --- a/drivers/net/ixgbevf/mbx.h +++ b/drivers/net/ixgbevf/mbx.h | |||
@@ -95,6 +95,4 @@ | |||
95 | /* forward declaration of the HW struct */ | 95 | /* forward declaration of the HW struct */ |
96 | struct ixgbe_hw; | 96 | struct ixgbe_hw; |
97 | 97 | ||
98 | s32 ixgbevf_init_mbx_params_vf(struct ixgbe_hw *); | ||
99 | |||
100 | #endif /* _IXGBE_MBX_H_ */ | 98 | #endif /* _IXGBE_MBX_H_ */ |
diff --git a/drivers/net/ixgbevf/vf.c b/drivers/net/ixgbevf/vf.c index f6f929958ba0..bfe42c1fcfaf 100644 --- a/drivers/net/ixgbevf/vf.c +++ b/drivers/net/ixgbevf/vf.c | |||
@@ -368,7 +368,7 @@ static s32 ixgbevf_check_mac_link_vf(struct ixgbe_hw *hw, | |||
368 | return 0; | 368 | return 0; |
369 | } | 369 | } |
370 | 370 | ||
371 | struct ixgbe_mac_operations ixgbevf_mac_ops = { | 371 | static struct ixgbe_mac_operations ixgbevf_mac_ops = { |
372 | .init_hw = ixgbevf_init_hw_vf, | 372 | .init_hw = ixgbevf_init_hw_vf, |
373 | .reset_hw = ixgbevf_reset_hw_vf, | 373 | .reset_hw = ixgbevf_reset_hw_vf, |
374 | .start_hw = ixgbevf_start_hw_vf, | 374 | .start_hw = ixgbevf_start_hw_vf, |