netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] horizon: make reset function not __init
@ 2004-02-19 23:49 Randy.Dunlap
  2004-02-24  1:19 ` chas williams (contractor)
  0 siblings, 1 reply; 3+ messages in thread
From: Randy.Dunlap @ 2004-02-19 23:49 UTC (permalink / raw)
  To: netdev; +Cc: chas


Please apply to 2.6.current.

product_versions: linux-263
description:	This function can be called by init or exit code,
		so it shouldn't be marked __init.

diffstat:=
 drivers/atm/horizon.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Naurp ./drivers/atm/horizon.c~hrzinit ./drivers/atm/horizon.c
--- ./drivers/atm/horizon.c~hrzinit	2004-02-17 19:57:11.000000000 -0800
+++ ./drivers/atm/horizon.c	2004-02-19 15:19:18.000000000 -0800
@@ -1802,7 +1802,7 @@ static int hrz_send (struct atm_vcc * at
 
 /********** reset a card **********/
 
-static void __init hrz_reset (const hrz_dev * dev) {
+static void hrz_reset (const hrz_dev * dev) {
   u32 control_0_reg = rd_regl (dev, CONTROL_0_REG);
   
   // why not set RESET_HORIZON to one and wait for the card to


--
~Randy

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

end of thread, other threads:[~2004-02-25  8:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-19 23:49 [PATCH] horizon: make reset function not __init Randy.Dunlap
2004-02-24  1:19 ` chas williams (contractor)
2004-02-25  8:23   ` David S. Miller

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).