aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/xen-netfront.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c
index fc24eb9b3948..53451dd7b602 100644
--- a/drivers/net/xen-netfront.c
+++ b/drivers/net/xen-netfront.c
@@ -1311,7 +1311,7 @@ static const struct net_device_ops xennet_netdev_ops = {
1311#endif 1311#endif
1312}; 1312};
1313 1313
1314static struct net_device * __devinit xennet_create_dev(struct xenbus_device *dev) 1314static struct net_device *xennet_create_dev(struct xenbus_device *dev)
1315{ 1315{
1316 int i, err; 1316 int i, err;
1317 struct net_device *netdev; 1317 struct net_device *netdev;
@@ -1407,7 +1407,7 @@ static struct net_device * __devinit xennet_create_dev(struct xenbus_device *dev
1407 * structures and the ring buffers for communication with the backend, and 1407 * structures and the ring buffers for communication with the backend, and
1408 * inform the backend of the appropriate details for those. 1408 * inform the backend of the appropriate details for those.
1409 */ 1409 */
1410static int __devinit netfront_probe(struct xenbus_device *dev, 1410static int netfront_probe(struct xenbus_device *dev,
1411 const struct xenbus_device_id *id) 1411 const struct xenbus_device_id *id)
1412{ 1412{
1413 int err; 1413 int err;
@@ -1967,7 +1967,7 @@ static const struct xenbus_device_id netfront_ids[] = {
1967}; 1967};
1968 1968
1969 1969
1970static int __devexit xennet_remove(struct xenbus_device *dev) 1970static int xennet_remove(struct xenbus_device *dev)
1971{ 1971{
1972 struct netfront_info *info = dev_get_drvdata(&dev->dev); 1972 struct netfront_info *info = dev_get_drvdata(&dev->dev);
1973 1973
@@ -1990,7 +1990,7 @@ static int __devexit xennet_remove(struct xenbus_device *dev)
1990 1990
1991static DEFINE_XENBUS_DRIVER(netfront, , 1991static DEFINE_XENBUS_DRIVER(netfront, ,
1992 .probe = netfront_probe, 1992 .probe = netfront_probe,
1993 .remove = __devexit_p(xennet_remove), 1993 .remove = xennet_remove,
1994 .resume = netfront_resume, 1994 .resume = netfront_resume,
1995 .otherend_changed = netback_changed, 1995 .otherend_changed = netback_changed,
1996); 1996);