diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-04-25 13:58:53 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-04-26 06:19:46 -0400 |
commit | 98712e5e3325247bf22a175d225526c9d5f8439b (patch) | |
tree | f7440223107fb212715e5a9f4d932a4a40a11236 /drivers/net/sky2.c | |
parent | 4a15d56f78936ec15a5d747546f25ace8fef9a03 (diff) |
[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>
Diffstat (limited to 'drivers/net/sky2.c')
-rw-r--r-- | drivers/net/sky2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index 393ee635b6c4..ce1a8afc3313 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c | |||
@@ -2219,7 +2219,7 @@ static inline u32 sky2_clk2us(const struct sky2_hw *hw, u32 clk) | |||
2219 | } | 2219 | } |
2220 | 2220 | ||
2221 | 2221 | ||
2222 | static int sky2_reset(struct sky2_hw *hw) | 2222 | static int __devinit sky2_reset(struct sky2_hw *hw) |
2223 | { | 2223 | { |
2224 | u16 status; | 2224 | u16 status; |
2225 | u8 t8, pmd_type; | 2225 | u8 t8, pmd_type; |