From: Stephen Hemminger Date: Wed, 12 Jul 2006 22:23:45 +0000 (-0700) Subject: [PATCH] sky2: sky2_reset section mismatch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=59139528c8e7880eee437e81647ade1b36af0d41;p=openwrt%2Fstaging%2Fblogic.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 31093760aa1e..4af3b86f62b8 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;