Commit 6e945491 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

hippi: remove __dev* attributes

CONFIG_HOTPLUG is going away as an option.  As result the __dev*
markings will be going away.

Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.
Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Jes Sorensen <jes@trained-monkey.org>
Cc: linux-hippi@sunsite.dk
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c354dfc3
...@@ -61,7 +61,7 @@ MODULE_AUTHOR("Jes Sorensen <jes@wildopensource.com>"); ...@@ -61,7 +61,7 @@ MODULE_AUTHOR("Jes Sorensen <jes@wildopensource.com>");
MODULE_DESCRIPTION("Essential RoadRunner HIPPI driver"); MODULE_DESCRIPTION("Essential RoadRunner HIPPI driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
static char version[] __devinitdata = "rrunner.c: v0.50 11/11/2002 Jes Sorensen (jes@wildopensource.com)\n"; static char version[] = "rrunner.c: v0.50 11/11/2002 Jes Sorensen (jes@wildopensource.com)\n";
static const struct net_device_ops rr_netdev_ops = { static const struct net_device_ops rr_netdev_ops = {
...@@ -88,7 +88,7 @@ static const struct net_device_ops rr_netdev_ops = { ...@@ -88,7 +88,7 @@ static const struct net_device_ops rr_netdev_ops = {
* stack will need to know about I/O vectors or something similar. * stack will need to know about I/O vectors or something similar.
*/ */
static int __devinit rr_init_one(struct pci_dev *pdev, static int rr_init_one(struct pci_dev *pdev,
const struct pci_device_id *ent) const struct pci_device_id *ent)
{ {
struct net_device *dev; struct net_device *dev;
...@@ -221,7 +221,7 @@ static int __devinit rr_init_one(struct pci_dev *pdev, ...@@ -221,7 +221,7 @@ static int __devinit rr_init_one(struct pci_dev *pdev,
return ret; return ret;
} }
static void __devexit rr_remove_one (struct pci_dev *pdev) static void rr_remove_one(struct pci_dev *pdev)
{ {
struct net_device *dev = pci_get_drvdata(pdev); struct net_device *dev = pci_get_drvdata(pdev);
struct rr_private *rr = netdev_priv(dev); struct rr_private *rr = netdev_priv(dev);
...@@ -503,7 +503,7 @@ static unsigned int write_eeprom(struct rr_private *rrpriv, ...@@ -503,7 +503,7 @@ static unsigned int write_eeprom(struct rr_private *rrpriv,
} }
static int __devinit rr_init(struct net_device *dev) static int rr_init(struct net_device *dev)
{ {
struct rr_private *rrpriv; struct rr_private *rrpriv;
struct rr_regs __iomem *regs; struct rr_regs __iomem *regs;
...@@ -1681,7 +1681,7 @@ static struct pci_driver rr_driver = { ...@@ -1681,7 +1681,7 @@ static struct pci_driver rr_driver = {
.name = "rrunner", .name = "rrunner",
.id_table = rr_pci_tbl, .id_table = rr_pci_tbl,
.probe = rr_init_one, .probe = rr_init_one,
.remove = __devexit_p(rr_remove_one), .remove = rr_remove_one,
}; };
static int __init rr_init_module(void) static int __init rr_init_module(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment