summaryrefslogtreecommitdiffstats
path: root/sys/kern/bus_if.m
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2000-11-28 06:49:15 +0000
committermdodd <mdodd@FreeBSD.org>2000-11-28 06:49:15 +0000
commitc18bb8265fc410ac05ce1f9a0a0cc5f344463f16 (patch)
tree4e3b535664cd1f2566a177032fe1f5e27dcfc049 /sys/kern/bus_if.m
parenta1edf7833325a127217f8044555286e5bb732b0d (diff)
downloadFreeBSD-src-c18bb8265fc410ac05ce1f9a0a0cc5f344463f16.zip
FreeBSD-src-c18bb8265fc410ac05ce1f9a0a0cc5f344463f16.tar.gz
Alter the return value and arguments of the GET_RESOURCE_LIST bus method.
Alter consumers of this method to conform to the new convention. Minor cosmetic adjustments to bus.h. This isn't of concern as this interface isn't in use yet.
Diffstat (limited to 'sys/kern/bus_if.m')
-rw-r--r--sys/kern/bus_if.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/bus_if.m b/sys/kern/bus_if.m
index e1b808f..29ee87682 100644
--- a/sys/kern/bus_if.m
+++ b/sys/kern/bus_if.m
@@ -240,8 +240,7 @@ METHOD void delete_resource {
#
# Return a struct resource_list.
#
-METHOD int get_resource_list {
+METHOD struct resource_list * get_resource_list {
device_t dev;
device_t child;
- struct resource_list *rl;
} DEFAULT bus_generic_get_resource_list;
OpenPOWER on IntegriCloud