rid is not a pointer to int, but rather just a plain int.
This commit is contained in:
parent
2ef9e9afdb
commit
88a3831a18
@ -42,9 +42,9 @@
|
||||
.In sys/rman.h
|
||||
.In machine/resource.h
|
||||
.Ft int
|
||||
.Fn bus_activate_resource "device_t dev" "int type" "int *rid" "struct resource *r"
|
||||
.Fn bus_activate_resource "device_t dev" "int type" "int rid" "struct resource *r"
|
||||
.Ft int
|
||||
.Fn bus_deactivate_resource "device_t dev" "int type" "int *rid" "struct resource *r"
|
||||
.Fn bus_deactivate_resource "device_t dev" "int type" "int rid" "struct resource *r"
|
||||
.Sh DESCRIPTION
|
||||
Activates or deactivates a previously allocated resource.
|
||||
In general, resources must be activated before they can be accessed by
|
||||
|
Loading…
x
Reference in New Issue
Block a user