summaryrefslogtreecommitdiffstats
path: root/sys/mips/rmi/iodi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/rmi/iodi.c')
-rw-r--r--sys/mips/rmi/iodi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/mips/rmi/iodi.c b/sys/mips/rmi/iodi.c
index 2831834..c9c5c45 100644
--- a/sys/mips/rmi/iodi.c
+++ b/sys/mips/rmi/iodi.c
@@ -67,7 +67,7 @@ extern bus_space_tag_t uart_bus_space_mem;
static struct resource *
iodi_alloc_resource(device_t, device_t, int, int *,
- u_long, u_long, u_long, u_int);
+ rman_res_t, rman_res_t, rman_res_t, u_int);
static int
iodi_activate_resource(device_t, device_t, int, int,
@@ -126,7 +126,7 @@ iodi_setup_intr(device_t dev, device_t child,
static struct resource *
iodi_alloc_resource(device_t bus, device_t child, int type, int *rid,
- u_long start, u_long end, u_long count, u_int flags)
+ rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
{
struct resource *res = malloc(sizeof(*res), M_DEVBUF, M_WAITOK);
const char *name = device_get_name(child);
OpenPOWER on IntegriCloud