* [PATCH 1/4][ATM]: [idt77105] should be __devinit not __init
@ 2006-06-28 13:44 chas williams - CONTRACTOR
2006-06-29 19:36 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: chas williams - CONTRACTOR @ 2006-06-28 13:44 UTC (permalink / raw)
To: netdev; +Cc: davem
please consider for 2.6.18 -- thanks!
[ATM]: [idt77105] should be __devinit not __init
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
---
commit 51403ade3cedfc85f1f41d81cb3a227f9ce2366f
tree f9cf0143466de92eda0080e27240d4b53c130c18
parent 982703b5b38b314081d79ebc657fc06b1b6fe6b6
author chas williams <chas@relax.cmf.nrl.navy.mil> Sun, 28 May 2006 22:14:23 -0400
committer chas williams <chas@relax.cmf.nrl.navy.mil> Sun, 28 May 2006 22:14:23 -0400
drivers/atm/idt77105.c | 2 +-
drivers/atm/idt77105.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/atm/idt77105.c b/drivers/atm/idt77105.c
index 0aabfc2..325325a 100644
--- a/drivers/atm/idt77105.c
+++ b/drivers/atm/idt77105.c
@@ -358,7 +358,7 @@ static const struct atmphy_ops idt77105_
};
-int idt77105_init(struct atm_dev *dev)
+int __devinit idt77105_init(struct atm_dev *dev)
{
dev->phy = &idt77105_ops;
return 0;
diff --git a/drivers/atm/idt77105.h b/drivers/atm/idt77105.h
index 8ba8218..3fd2bc8 100644
--- a/drivers/atm/idt77105.h
+++ b/drivers/atm/idt77105.h
@@ -76,7 +76,7 @@ #define IDT77105_CTRSEL_RCC 0x02 /* W, R
#define IDT77105_CTRSEL_RHEC 0x01 /* W, Rx HEC Error Counter */
#ifdef __KERNEL__
-int idt77105_init(struct atm_dev *dev) __init;
+int idt77105_init(struct atm_dev *dev);
#endif
/*
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-29 19:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-28 13:44 [PATCH 1/4][ATM]: [idt77105] should be __devinit not __init chas williams - CONTRACTOR
2006-06-29 19:36 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox