From: Stephen Hemminger Date: Wed, 12 Jul 2006 22:23:45 +0000 (-0700) Subject: [PATCH] sky2: sky2_reset section mismatch X-Git-Tag: v2.6.18-rc2~101^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=59139528c8e7880eee437e81647ade1b36af0d41;p=linux-2.6-omap-h63xx.git [PATCH] sky2: sky2_reset section mismatch Since sky2_reset gets call from sky2_resume it shouldn't be tagged with devinit. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index 31093760aa1..4af3b86f62b 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c @@ -2286,7 +2286,7 @@ static inline u32 sky2_clk2us(const struct sky2_hw *hw, u32 clk) } -static int __devinit sky2_reset(struct sky2_hw *hw) +static int sky2_reset(struct sky2_hw *hw) { u16 status; u8 t8, pmd_type;