Эх сурвалжийг харах

[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 жил өмнө
parent
commit
cff93eb3d3

+ 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
 * hw - Struct containing variables accessed by shared code
 * phy_info - PHY information structure
 * phy_info - PHY information structure
 ******************************************************************************/
 ******************************************************************************/
-int32_t
+static int32_t
 e1000_phy_igp_get_info(struct e1000_hw *hw,
 e1000_phy_igp_get_info(struct e1000_hw *hw,
                        struct e1000_phy_info *phy_info)
                        struct e1000_phy_info *phy_info)
 {
 {