summaryrefslogtreecommitdiff
path: root/drivers/atm
diff options
context:
space:
mode:
authorChas Williams <chas@cmf.nrl.navy.mil>2006-06-29 12:35:49 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-29 16:58:17 -0700
commitd17f086550a6fdb13fe82371d60ebf80904c6f96 (patch)
tree161770a40009ca207942406d0b04979e73a26529 /drivers/atm
parent249c14b55c8576ad8c6ec23c7c1b3b2219b33e54 (diff)
downloadlinux-3.10-d17f086550a6fdb13fe82371d60ebf80904c6f96.tar.gz
linux-3.10-d17f086550a6fdb13fe82371d60ebf80904c6f96.tar.bz2
linux-3.10-d17f086550a6fdb13fe82371d60ebf80904c6f96.zip
[ATM]: [suni] change suni_init to __devinit
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
-rw-r--r--drivers/atm/he.c2
-rw-r--r--drivers/atm/suni.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/atm/he.c b/drivers/atm/he.c
index fde9334059a..a486eb1f164 100644
--- a/drivers/atm/he.c
+++ b/drivers/atm/he.c
@@ -1018,7 +1018,7 @@ he_init_irq(struct he_dev *he_dev)
return 0;
}
-static int __init
+static int __devinit
he_start(struct atm_dev *dev)
{
struct he_dev *he_dev;
diff --git a/drivers/atm/suni.c b/drivers/atm/suni.c
index b1d063cc4fb..f04f39c0083 100644
--- a/drivers/atm/suni.c
+++ b/drivers/atm/suni.c
@@ -289,7 +289,7 @@ static const struct atmphy_ops suni_ops = {
};
-int suni_init(struct atm_dev *dev)
+int __devinit suni_init(struct atm_dev *dev)
{
unsigned char mri;