aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ntb/ntb_transport.c
diff options
context:
space:
mode:
authorJon Mason <jon.mason@intel.com>2013-01-19 04:02:23 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-20 18:45:51 -0500
commit170d35a57cf2c87bbfdfe6ec0485f678bdb53737 (patch)
tree424a8bdeb349b530add74d6dfae736b2edbc7e84 /drivers/ntb/ntb_transport.c
parentd66d7ac2e09f26dbcd3bfbd8bb05e658de89719a (diff)
NTB: namespacecheck cleanups
Declare ntb_bus_type static to remove it from name space, and remove unused ntb_get_max_spads function. Found via `make namespacecheck`. Signed-off-by: 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c
index c0eca02eb6d0..903a72e7d112 100644
--- a/drivers/ntb/ntb_transport.c
+++ b/drivers/ntb/ntb_transport.c
@@ -212,7 +212,7 @@ static int ntb_client_remove(struct device *dev)
212 return 0; 212 return 0;
213} 213}
214 214
215struct bus_type ntb_bus_type = { 215static struct bus_type ntb_bus_type = {
216 .name = "ntb_bus", 216 .name = "ntb_bus",
217 .match = ntb_match_bus, 217 .match = ntb_match_bus,
218 .probe = ntb_client_probe, 218 .probe = ntb_client_probe,