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

ibmveth: 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: Santiago Leon <santil@linux.vnet.ibm.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 170b52b8
...@@ -1324,7 +1324,7 @@ static const struct net_device_ops ibmveth_netdev_ops = { ...@@ -1324,7 +1324,7 @@ static const struct net_device_ops ibmveth_netdev_ops = {
#endif #endif
}; };
static int __devinit ibmveth_probe(struct vio_dev *dev, static int ibmveth_probe(struct vio_dev *dev,
const struct vio_device_id *id) const struct vio_device_id *id)
{ {
int rc, i; int rc, i;
...@@ -1426,7 +1426,7 @@ static int __devinit ibmveth_probe(struct vio_dev *dev, ...@@ -1426,7 +1426,7 @@ static int __devinit ibmveth_probe(struct vio_dev *dev,
return 0; return 0;
} }
static int __devexit ibmveth_remove(struct vio_dev *dev) static int ibmveth_remove(struct vio_dev *dev)
{ {
struct net_device *netdev = dev_get_drvdata(&dev->dev); struct net_device *netdev = dev_get_drvdata(&dev->dev);
struct ibmveth_adapter *adapter = netdev_priv(netdev); struct ibmveth_adapter *adapter = netdev_priv(netdev);
...@@ -1593,7 +1593,7 @@ static int ibmveth_resume(struct device *dev) ...@@ -1593,7 +1593,7 @@ static int ibmveth_resume(struct device *dev)
return 0; return 0;
} }
static struct vio_device_id ibmveth_device_table[] __devinitdata = { static struct vio_device_id ibmveth_device_table[] = {
{ "network", "IBM,l-lan"}, { "network", "IBM,l-lan"},
{ "", "" } { "", "" }
}; };
......
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