projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a15d56
)
[PATCH] sky2: reset function can be devinit
author
Stephen Hemminger
<shemminger@osdl.org>
Tue, 25 Apr 2006 17:58:53 +0000
(10:58 -0700)
committer
Jeff Garzik
<jeff@garzik.org>
Wed, 26 Apr 2006 10:19:46 +0000
(06:19 -0400)
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>
drivers/net/sky2.c
patch
|
blob
|
history
diff --git
a/drivers/net/sky2.c
b/drivers/net/sky2.c
index 393ee635b6c455e0bf8f3b669ad643ac1d5b9add..ce1a8afc3313874c1fa77f8c597090b9e86e4050 100644
(file)
--- 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)
}
-static int sky2_reset(struct sky2_hw *hw)
+static int
__devinit
sky2_reset(struct sky2_hw *hw)
{
u16 status;
u8 t8, pmd_type;