aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/bus.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/bus.h')
-rw-r--r--sys/sys/bus.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/bus.h b/sys/sys/bus.h
index 0e408446f3c6..5f0df65146b6 100644
--- a/sys/sys/bus.h
+++ b/sys/sys/bus.h
@@ -478,14 +478,14 @@ void bus_enumerate_hinted_children(device_t bus);
static __inline struct resource *
bus_alloc_resource_any(device_t dev, int type, int *rid, u_int flags)
{
- return (bus_alloc_resource(dev, type, rid, 0ul, ~0ul, 1, flags));
+ return (bus_alloc_resource(dev, type, rid, 0, ~0, 1, flags));
}
static __inline struct resource *
bus_alloc_resource_anywhere(device_t dev, int type, int *rid,
rman_res_t count, u_int flags)
{
- return (bus_alloc_resource(dev, type, rid, 0ul, ~0ul, count, flags));
+ return (bus_alloc_resource(dev, type, rid, 0, ~0, count, flags));
}
/*