Commit 78a61ab7 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

ntb: remove __dev* markings

These are now gone from the kernel, so remove them from the newly-added
drivers before they start to cause build errors for people.

Cc: Jon Mason <jon.mason@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 548c237c
...@@ -323,7 +323,7 @@ static const struct ntb_queue_handlers ntb_netdev_handlers = { ...@@ -323,7 +323,7 @@ static const struct ntb_queue_handlers ntb_netdev_handlers = {
.event_handler = ntb_netdev_event_handler, .event_handler = ntb_netdev_event_handler,
}; };
static int __devinit ntb_netdev_probe(struct pci_dev *pdev) static int ntb_netdev_probe(struct pci_dev *pdev)
{ {
struct net_device *ndev; struct net_device *ndev;
struct ntb_netdev *dev; struct ntb_netdev *dev;
......
...@@ -637,7 +637,7 @@ static int ntb_bwd_setup(struct ntb_device *ndev) ...@@ -637,7 +637,7 @@ static int ntb_bwd_setup(struct ntb_device *ndev)
return 0; return 0;
} }
static int __devinit ntb_device_setup(struct ntb_device *ndev) static int ntb_device_setup(struct ntb_device *ndev)
{ {
int rc; int rc;
...@@ -909,7 +909,7 @@ static int ntb_setup_intx(struct ntb_device *ndev) ...@@ -909,7 +909,7 @@ static int ntb_setup_intx(struct ntb_device *ndev)
return 0; return 0;
} }
static int __devinit ntb_setup_interrupts(struct ntb_device *ndev) static int ntb_setup_interrupts(struct ntb_device *ndev)
{ {
int rc; int rc;
...@@ -943,7 +943,7 @@ static int __devinit ntb_setup_interrupts(struct ntb_device *ndev) ...@@ -943,7 +943,7 @@ static int __devinit ntb_setup_interrupts(struct ntb_device *ndev)
return 0; return 0;
} }
static void __devexit ntb_free_interrupts(struct ntb_device *ndev) static void ntb_free_interrupts(struct ntb_device *ndev)
{ {
struct pci_dev *pdev = ndev->pdev; struct pci_dev *pdev = ndev->pdev;
...@@ -973,7 +973,7 @@ static void __devexit ntb_free_interrupts(struct ntb_device *ndev) ...@@ -973,7 +973,7 @@ static void __devexit ntb_free_interrupts(struct ntb_device *ndev)
} }
} }
static int __devinit ntb_create_callbacks(struct ntb_device *ndev) static int ntb_create_callbacks(struct ntb_device *ndev)
{ {
int i; int i;
...@@ -1006,9 +1006,7 @@ static void ntb_free_callbacks(struct ntb_device *ndev) ...@@ -1006,9 +1006,7 @@ static void ntb_free_callbacks(struct ntb_device *ndev)
kfree(ndev->db_cb); kfree(ndev->db_cb);
} }
static int __devinit static int ntb_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
ntb_pci_probe(struct pci_dev *pdev,
__attribute__((unused)) const struct pci_device_id *id)
{ {
struct ntb_device *ndev; struct ntb_device *ndev;
int rc, i; int rc, i;
...@@ -1122,7 +1120,7 @@ ntb_pci_probe(struct pci_dev *pdev, ...@@ -1122,7 +1120,7 @@ ntb_pci_probe(struct pci_dev *pdev,
return rc; return rc;
} }
static void __devexit ntb_pci_remove(struct pci_dev *pdev) static void ntb_pci_remove(struct pci_dev *pdev)
{ {
struct ntb_device *ndev = pci_get_drvdata(pdev); struct ntb_device *ndev = pci_get_drvdata(pdev);
int i; int i;
...@@ -1152,6 +1150,6 @@ static struct pci_driver ntb_pci_driver = { ...@@ -1152,6 +1150,6 @@ static struct pci_driver ntb_pci_driver = {
.name = KBUILD_MODNAME, .name = KBUILD_MODNAME,
.id_table = ntb_pci_tbl, .id_table = ntb_pci_tbl,
.probe = ntb_pci_probe, .probe = ntb_pci_probe,
.remove = __devexit_p(ntb_pci_remove), .remove = ntb_pci_remove,
}; };
module_pci_driver(ntb_pci_driver); module_pci_driver(ntb_pci_driver);
...@@ -217,7 +217,7 @@ struct bus_type ntb_bus_type = { ...@@ -217,7 +217,7 @@ struct bus_type ntb_bus_type = {
static LIST_HEAD(ntb_transport_list); static LIST_HEAD(ntb_transport_list);
static int __devinit ntb_bus_init(struct ntb_transport *nt) static int ntb_bus_init(struct ntb_transport *nt)
{ {
if (list_empty(&ntb_transport_list)) { if (list_empty(&ntb_transport_list)) {
int rc = bus_register(&ntb_bus_type); int rc = bus_register(&ntb_bus_type);
...@@ -230,7 +230,7 @@ static int __devinit ntb_bus_init(struct ntb_transport *nt) ...@@ -230,7 +230,7 @@ static int __devinit ntb_bus_init(struct ntb_transport *nt)
return 0; return 0;
} }
static void __devexit ntb_bus_remove(struct ntb_transport *nt) static void ntb_bus_remove(struct ntb_transport *nt)
{ {
struct ntb_transport_client_dev *client_dev, *cd; struct ntb_transport_client_dev *client_dev, *cd;
......
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