瀏覽代碼

[PATCH] sky2: reset function can be devinit

The sky2_reset function only called from sky2_probe.
Maybe the compiler was smart enough to figure this out already.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Stephen Hemminger 19 年之前
父節點
當前提交
98712e5e33
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/net/sky2.c

+ 1 - 1
drivers/net/sky2.c

@@ -2219,7 +2219,7 @@ static inline u32 sky2_clk2us(const struct sky2_hw *hw, u32 clk)
 }
 }
 
 
 
 
-static int sky2_reset(struct sky2_hw *hw)
+static int __devinit sky2_reset(struct sky2_hw *hw)
 {
 {
 	u16 status;
 	u16 status;
 	u8 t8, pmd_type;
 	u8 t8, pmd_type;