]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] sky2: sky2_reset section mismatch
authorStephen Hemminger <shemminger@osdl.org>
Wed, 12 Jul 2006 22:23:45 +0000 (15:23 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 12 Jul 2006 22:39:21 +0000 (18:39 -0400)
Since sky2_reset gets call from sky2_resume it shouldn't be tagged
with devinit.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c

index 31093760aa1e9534270e2d5a9c8746ce3ce46b14..4af3b86f62b873ab1956e0848a50945377002d23 100644 (file)
@@ -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;