From 125da88acd8ca8c91911837d0dbffe053bc13e3c Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 12 Mar 2009 06:36:44 +0000 Subject: [PATCH] read_ivar takes a uintptr_t * not a u_char *. --- sys/dev/mmc/mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/mmc/mmc.c b/sys/dev/mmc/mmc.c index 0ec6ac79754..68726675f81 100644 --- a/sys/dev/mmc/mmc.c +++ b/sys/dev/mmc/mmc.c @@ -1437,7 +1437,7 @@ mmc_scan(struct mmc_softc *sc) } static int -mmc_read_ivar(device_t bus, device_t child, int which, u_char *result) +mmc_read_ivar(device_t bus, device_t child, int which, uintptr_t *result) { struct mmc_ivars *ivar = device_get_ivars(child);