aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ntb/test/ntb_tool.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ntb/test/ntb_tool.c')
-rw-r--r--sys/dev/ntb/test/ntb_tool.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ntb/test/ntb_tool.c b/sys/dev/ntb/test/ntb_tool.c
index 76dfd58695ec..aae78756501f 100644
--- a/sys/dev/ntb/test/ntb_tool.c
+++ b/sys/dev/ntb/test/ntb_tool.c
@@ -1487,9 +1487,8 @@ static device_method_t ntb_tool_methods[] = {
DEVMETHOD_END
};
-devclass_t ntb_tool_devclass;
static DEFINE_CLASS_0(ntb_tool, ntb_tool_driver, ntb_tool_methods,
sizeof(struct tool_ctx));
-DRIVER_MODULE(ntb_tool, ntb_hw, ntb_tool_driver, ntb_tool_devclass, NULL, NULL);
+DRIVER_MODULE(ntb_tool, ntb_hw, ntb_tool_driver, NULL, NULL);
MODULE_DEPEND(ntb_tool, ntb, 1, 1, 1);
MODULE_VERSION(ntb_tool, 1.0);