Fix ata_at91_alloc_resource to use rman_res_t.

Sponsored by:	ABT Systems Ltd
This commit is contained in:
Andrew Turner 2016-11-11 14:30:09 +00:00
parent 639e990770
commit 30add35afa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308526

View file

@ -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);