aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ.R. Oldroyd <fbsd@opal.com>2021-05-24 14:54:45 +0000
committerGordon Bergling <gbe@FreeBSD.org>2021-06-01 05:34:07 +0000
commite303e19dfc0d2fd94301f213e8f7be1dcf597dc2 (patch)
tree626f1cb54197235b1951a3455e077d8ccf2e97bb
parent2f6ce1167391e8b1883bccc98f60b129fec4a9e3 (diff)
downloadsrc-e303e19dfc0d2fd94301f213e8f7be1dcf597dc2.tar.gz
src-e303e19dfc0d2fd94301f213e8f7be1dcf597dc2.zip
DRIVER_MODULE(9): Correct the SYNOPSIS of EARLY_DRIVER_MODULE()
The man page SYNOPSIS for EARLY_DRIVER_MODULE() shows that it has an "enum sysinit_elem_order order" argument. The actual macro in sys/bus.h does not have an order argument. PR: 256103 Reported by: J.R. Oldroyd <fbsd at opal dot com> Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D30411 (cherry picked from commit 3fdd5c1e49cbc0a77935eb34e3561c6021b93650)
-rw-r--r--share/man/man9/DRIVER_MODULE.94
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man9/DRIVER_MODULE.9 b/share/man/man9/DRIVER_MODULE.9
index 8792e8930424..5d5927fba1e8 100644
--- a/share/man/man9/DRIVER_MODULE.9
+++ b/share/man/man9/DRIVER_MODULE.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 12, 2018
+.Dd May 24, 2021
.Dt DRIVER_MODULE 9
.Os
.Sh NAME
@@ -44,7 +44,7 @@
.In sys/module.h
.Fn DRIVER_MODULE name busname "driver_t driver" "devclass_t devclass" "modeventhand_t evh" "void *arg"
.Fn DRIVER_MODULE_ORDERED name busname "driver_t driver" "devclass_t devclass" "modeventhand_t evh" "void *arg" "int order"
-.Fn EARLY_DRIVER_MODULE name busname "driver_t driver" "devclass_t devclass" "modeventhand_t evh" "void *arg" "enum sysinit_elem_order order" "int pass"
+.Fn EARLY_DRIVER_MODULE name busname "driver_t driver" "devclass_t devclass" "modeventhand_t evh" "void *arg" "int pass"
.Fn EARLY_DRIVER_MODULE_ORDERED name busname "driver_t driver" "devclass_t devclass" "modeventhand_t evh" "void *arg" "enum sysinit_elem_order order" "int pass"
.Sh DESCRIPTION
The