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>
此提交包含在:
Jon Mason
2013-01-19 02:02:23 -07:00
提交者 Greg Kroah-Hartman
父節點 d66d7ac2e0
當前提交 170d35a57c
共有 2 個檔案被更改,包括 1 行新增15 行删除

查看文件

@@ -212,7 +212,7 @@ static int ntb_client_remove(struct device *dev)
return 0;
}
struct bus_type ntb_bus_type = {
static struct bus_type ntb_bus_type = {
.name = "ntb_bus",
.match = ntb_match_bus,
.probe = ntb_client_probe,