aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-05-06 00:02:39 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-05-06 00:02:39 +0000
commit0fdf5bc531fbde4fa80a85614ba40230062ebde4 (patch)
tree9a7e76629bbc8acd474463dfd6e5c7ab2f7fe5fc
parent262b581d1791fa5905d8771bef7fc201ed46d790 (diff)
Remove extraneous devclass argument from DRIVER_MODULE_ORDERED6.
This is the variant of DRIVER_MODULE_ORDERED that does not accept a devclass argument. Fixes: 2a99dd30dfaa Deprecate the 'devclass' argument from *DRIVER_MODULE() macros.
-rw-r--r--sys/sys/bus.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sys/bus.h b/sys/sys/bus.h
index c9d10ab9afaf..a1d11138a1cc 100644
--- a/sys/sys/bus.h
+++ b/sys/sys/bus.h
@@ -853,8 +853,7 @@ DECLARE_MODULE(name##_##busname, name##_##busname##_mod, \
EARLY_DRIVER_MODULE_ORDERED8(name, busname, driver, devclass, \
evh, arg, order, BUS_PASS_DEFAULT)
-#define DRIVER_MODULE_ORDERED6(name, busname, driver, devclass, evh, arg,\
- order) \
+#define DRIVER_MODULE_ORDERED6(name, busname, driver, evh, arg, order) \
EARLY_DRIVER_MODULE_ORDERED7(name, busname, driver, evh, arg, \
order, BUS_PASS_DEFAULT)