From 9680845cca80c80a47eacaeb206d71f9e4482ae6 Mon Sep 17 00:00:00 2001 From: andrew Date: Fri, 11 Nov 2016 14:30:09 +0000 Subject: [PATCH] Fix ata_at91_alloc_resource to use rman_res_t. Sponsored by: ABT Systems Ltd --- sys/arm/at91/at91_cfata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm/at91/at91_cfata.c b/sys/arm/at91/at91_cfata.c index 890029c13e32..8c6049d5b01c 100644 --- a/sys/arm/at91/at91_cfata.c +++ b/sys/arm/at91/at91_cfata.c @@ -114,7 +114,7 @@ at91_cfata_detach(device_t dev) static struct resource * ata_at91_alloc_resource(device_t dev, 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 at91_cfata_softc *sc = device_get_softc(dev);