* [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
* Re: [PATCH] horizon: make reset function not __init
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
0 siblings, 1 reply; 3+ messages in thread
From: chas williams (contractor) @ 2004-02-24 1:19 UTC (permalink / raw)
To: davem, Randy.Dunlap; +Cc: netdev
please apply to 2.6. --thanks
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1551 -> 1.1552
# drivers/atm/horizon.c 1.14 -> 1.15
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 04/02/23 chas@relax.cmf.nrl.navy.mil 1.1552
# [ATM]: horizon: make reset function not __init (from Randy Dunlap <rddunlap@osdl.org>)
# --------------------------------------------
#
diff -Nru a/drivers/atm/horizon.c b/drivers/atm/horizon.c
--- a/drivers/atm/horizon.c Mon Feb 23 20:10:49 2004
+++ b/drivers/atm/horizon.c Mon Feb 23 20:10:49 2004
@@ -1802,7 +1802,7 @@
/********** 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] horizon: make reset function not __init
2004-02-24 1:19 ` chas williams (contractor)
@ 2004-02-25 8:23 ` David S. Miller
0 siblings, 0 replies; 3+ messages in thread
From: David S. Miller @ 2004-02-25 8:23 UTC (permalink / raw)
To: chas3; +Cc: chas, rddunlap, netdev
On Mon, 23 Feb 2004 20:19:13 -0500
"chas williams (contractor)" <chas@cmf.nrl.navy.mil> wrote:
> please apply to 2.6. --thanks
...
> # [ATM]: horizon: make reset function not __init (from Randy Dunlap <rddunlap@osdl.org>)
Applied, thanks.
^ 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).