diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2006-07-17 20:48:28 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2006-07-17 20:48:28 +0000 |
commit | fb8fa2baab9637eec71161e51d7bf82081e540ce (patch) | |
tree | 45c1a4dda0da1def14d4a5e8e39896080e7689f3 /sys/dev/sdmmc/sdhcvar.h | |
parent | 34afc6ce380fc7428a969ce3c7ddb53409fb122e (diff) |
correct the way hosts are alloc'ed. fixes crashes on controllers with
multiple slots. tested by me and ian@. uwe@ ok.
Diffstat (limited to 'sys/dev/sdmmc/sdhcvar.h')
-rw-r--r-- | sys/dev/sdmmc/sdhcvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sdmmc/sdhcvar.h b/sys/dev/sdmmc/sdhcvar.h index c39fb0dd955..f129f2fdb16 100644 --- a/sys/dev/sdmmc/sdhcvar.h +++ b/sys/dev/sdmmc/sdhcvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sdhcvar.h,v 1.1 2006/05/28 17:21:14 uwe Exp $ */ +/* $OpenBSD: sdhcvar.h,v 1.2 2006/07/17 20:48:27 fgsch Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -25,7 +25,7 @@ struct sdhc_host; struct sdhc_softc { struct device sc_dev; - struct sdhc_host *sc_host; + struct sdhc_host **sc_host; int sc_nhosts; }; |