[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080119131849.GA8669@does.not.exist>
Date: Sat, 19 Jan 2008 15:18:49 +0200
From: Adrian Bunk <bunk@...nel.org>
To: chas@....nrl.navy.mil, jgarzik@...ox.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [2.6 patch] atm/idt77105.c: fix section mismatch
EXPORT_SYMBOL'ed code mustn't be __*init.
Signed-off-by: Adrian Bunk <bunk@...nel.org>
---
--- linux-2.6/drivers/atm/idt77105.c.old 2008-01-19 11:19:53.000000000 +0200
+++ linux-2.6/drivers/atm/idt77105.c 2008-01-19 11:20:10.000000000 +0200
@@ -354,13 +354,13 @@ static const struct atmphy_ops idt77105_
.ioctl = idt77105_ioctl,
.interrupt = idt77105_int,
.stop = idt77105_stop,
};
-int __devinit idt77105_init(struct atm_dev *dev)
+int idt77105_init(struct atm_dev *dev)
{
dev->phy = &idt77105_ops;
return 0;
}
EXPORT_SYMBOL(idt77105_init);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists