diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2009-02-06 20:16:42 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2009-02-06 20:16:42 +0000 |
commit | 5fd7a9d468ef1d46eeba0507c7493f5dcf0bb58d (patch) | |
tree | d1f0c3564d9f4ea672172f327aa7b7422cb02c84 /sys/dev/sdmmc/sdmmcvar.h | |
parent | b16071041d0cdd5ee8b6661f2d846bb5c512a028 (diff) |
Fix crash on zaurus when sd memory card plugged by providing an attachment
structure that slave devices like sbt expect.
Diffstat (limited to 'sys/dev/sdmmc/sdmmcvar.h')
-rw-r--r-- | sys/dev/sdmmc/sdmmcvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sdmmc/sdmmcvar.h b/sys/dev/sdmmc/sdmmcvar.h index 4570e9377a0..a24335a4eb3 100644 --- a/sys/dev/sdmmc/sdmmcvar.h +++ b/sys/dev/sdmmc/sdmmcvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sdmmcvar.h,v 1.13 2009/01/09 10:55:22 jsg Exp $ */ +/* $OpenBSD: sdmmcvar.h,v 1.14 2009/02/06 20:16:41 grange Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -180,7 +180,7 @@ struct sdmmc_softc { * Attach devices at the sdmmc bus. */ struct sdmmc_attach_args { - struct scsi_link scsi_link; /* XXX */ + struct scsi_link *scsi_link; /* XXX */ struct sdmmc_function *sf; }; |