From 5fd7a9d468ef1d46eeba0507c7493f5dcf0bb58d Mon Sep 17 00:00:00 2001 From: Alexander Yurchenko Date: Fri, 6 Feb 2009 20:16:42 +0000 Subject: Fix crash on zaurus when sd memory card plugged by providing an attachment structure that slave devices like sbt expect. --- sys/dev/sdmmc/sdmmcvar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/sdmmc/sdmmcvar.h') 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 @@ -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; }; -- cgit v1.2.3