netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] smctr: fix init section usage
@ 2004-03-08  3:40 Randy.Dunlap
  2004-03-12 18:27 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2004-03-08  3:40 UTC (permalink / raw)
  To: netdev; +Cc: jgarzik

smctr_chk_mca() can be __init.

Patch is to 2.6.4-rc2.  Please apply.

--
~Randy


diffstat:=
 drivers/net/tokenring/smctr.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Naurp ./drivers/net/tokenring/smctr.c~smctr_init ./drivers/net/tokenring/smctr.c
--- ./drivers/net/tokenring/smctr.c~smctr_init	2004-02-17 19:57:56.000000000 -0800
+++ ./drivers/net/tokenring/smctr.c	2004-03-07 17:39:14.000000000 -0800
@@ -477,7 +477,7 @@ static int smctr_checksum_firmware(struc
         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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] smctr: fix init section usage
  2004-03-08  3:40 [PATCH] smctr: fix init section usage Randy.Dunlap
@ 2004-03-12 18:27 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2004-03-12 18:27 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: netdev

applied

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-12 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-08  3:40 [PATCH] smctr: fix init section usage Randy.Dunlap
2004-03-12 18:27 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).