浏览代码

[PATCH] make drivers/net/e1000/e1000_hw.c:e1000_phy_igp_get_info() static

This patch makes the needlessly global e1000_phy_igp_get_info() static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Adrian Bunk 19 年之前
父节点
当前提交
cff93eb3d3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/net/e1000/e1000_hw.c

+ 1 - 1
drivers/net/e1000/e1000_hw.c

@@ -4056,7 +4056,7 @@ e1000_phy_reset_dsp(struct e1000_hw *hw)
 * hw - Struct containing variables accessed by shared code
 * phy_info - PHY information structure
 ******************************************************************************/
-int32_t
+static int32_t
 e1000_phy_igp_get_info(struct e1000_hw *hw,
                        struct e1000_phy_info *phy_info)
 {