Fixed wrong function types (the device_add_child() family returns a
device_t, not an int).
This commit is contained in:
parent
9961a6adff
commit
31f698b8ca
@ -38,9 +38,9 @@
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/param.h>
|
||||
.Fd #include <sys/bus.h>
|
||||
.Ft int
|
||||
.Ft device_t
|
||||
.Fn device_add_child "device_t dev" "const char *name" "int unit"
|
||||
.Ft int
|
||||
.Ft device_t
|
||||
.Fn device_add_child_ordered "device_t dev" "int order" "const char *name" "int unit"
|
||||
.Sh DESCRIPTION
|
||||
.Pp
|
||||
|
Loading…
Reference in New Issue
Block a user