summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandy Dunlap <rddunlap@osdl.org>2004-03-12 03:23:38 -0500
committerJeff Garzik <jgarzik@redhat.com>2004-03-12 03:23:38 -0500
commitf2a94347ecd75e790dec885bbc97549e52cbcf7a (patch)
tree192df7f050e91458f05d5fa314050d4ceb420fad
parent2402bc87a92184b543bcd2961f41d57581e06d3a (diff)
[PATCH] smctr: fix init section usage
smctr_chk_mca() can be __init.
-rw-r--r--drivers/net/tokenring/smctr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tokenring/smctr.c b/drivers/net/tokenring/smctr.c
index 3863d222ec0d..64b8fae5d303 100644
--- a/drivers/net/tokenring/smctr.c
+++ b/drivers/net/tokenring/smctr.c
@@ -477,7 +477,7 @@ static int smctr_checksum_firmware(struct net_device *dev)
return (0);
}
-static int smctr_chk_mca(struct net_device *dev)
+static int __init smctr_chk_mca(struct net_device *dev)
{
#ifdef CONFIG_MCA
struct net_local *tp = (struct net_local *)dev->priv;