aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ntb/ntb_transport.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-17 19:17:42 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-17 19:17:42 -0800
commit78a61ab79ae6bd75593b63fbaf5299c96bac0ea4 (patch)
treeb475dddeebcc1b5d93fad0931f1e5df75aec0e3f /drivers/ntb/ntb_transport.c
parentnet: Add support for NTB virtual ethernet device (diff)
downloadlinux-dev-78a61ab79ae6bd75593b63fbaf5299c96bac0ea4.tar.xz
linux-dev-78a61ab79ae6bd75593b63fbaf5299c96bac0ea4.zip
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ntb/ntb_transport.c')
-rw-r--r--drivers/ntb/ntb_transport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c
index c907e0773532..250190fba757 100644
--- a/drivers/ntb/ntb_transport.c
+++ b/drivers/ntb/ntb_transport.c
@@ -217,7 +217,7 @@ struct bus_type ntb_bus_type = {
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)) {
int rc = bus_register(&ntb_bus_type);
@@ -230,7 +230,7 @@ static int __devinit ntb_bus_init(struct ntb_transport *nt)
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;