Skip to content

Commit

Permalink
ibmveth: remove __dev* attributes
Browse files Browse the repository at this point in the history
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: Bill Pemberton <wfp5p@virginia.edu>
Cc: Santiago Leon <santil@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Dec 3, 2012
1 parent 170b52b commit e11787a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/ethernet/ibm/ibmveth.c
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,7 @@ static const struct net_device_ops ibmveth_netdev_ops = {
#endif
};

static int __devinit ibmveth_probe(struct vio_dev *dev,
static int ibmveth_probe(struct vio_dev *dev,
const struct vio_device_id *id)
{
int rc, i;
Expand Down Expand Up @@ -1426,7 +1426,7 @@ static int __devinit ibmveth_probe(struct vio_dev *dev,
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 ibmveth_adapter *adapter = netdev_priv(netdev);
Expand Down Expand Up @@ -1593,7 +1593,7 @@ static int ibmveth_resume(struct device *dev)
return 0;
}

static struct vio_device_id ibmveth_device_table[] __devinitdata = {
static struct vio_device_id ibmveth_device_table[] = {
{ "network", "IBM,l-lan"},
{ "", "" }
};
Expand Down

0 comments on commit e11787a

Please sign in to comment.