svn commit: r308526 - head/sys/arm/at91

Andrew Turner andrew at FreeBSD.org
Fri Nov 11 14:30:10 UTC 2016


Author: andrew
Date: Fri Nov 11 14:30:09 2016
New Revision: 308526
URL: https://svnweb.freebsd.org/changeset/base/308526

Log:
  Fix ata_at91_alloc_resource to use rman_res_t.
  
  Sponsored by:	ABT Systems Ltd

Modified:
  head/sys/arm/at91/at91_cfata.c

Modified: head/sys/arm/at91/at91_cfata.c
==============================================================================
--- head/sys/arm/at91/at91_cfata.c	Fri Nov 11 14:22:35 2016	(r308525)
+++ head/sys/arm/at91/at91_cfata.c	Fri Nov 11 14:30:09 2016	(r308526)
@@ -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);
 


More information about the svn-src-head mailing list