From 513a0027141971b4358203de84b9dc892ea9b9e4 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Thu, 3 May 2007 12:19:02 +0000 Subject: missed an struct lock to struct rwlock in the softc. found by and ok claudio@ --- sys/dev/pci/alipm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/dev/pci/alipm.c b/sys/dev/pci/alipm.c index bc72af46e33..dc17bfd9c2d 100644 --- a/sys/dev/pci/alipm.c +++ b/sys/dev/pci/alipm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: alipm.c,v 1.12 2007/05/03 09:36:26 dlg Exp $ */ +/* $OpenBSD: alipm.c,v 1.13 2007/05/03 12:19:01 dlg Exp $ */ /* * Copyright (c) 2005 Mark Kettenis @@ -104,7 +104,7 @@ struct alipm_softc { bus_space_handle_t sc_ioh; struct i2c_controller sc_smb_tag; - struct lock sc_smb_lock; + struct rwlock sc_smb_lock; }; int alipm_match(struct device *, void *, void *); -- cgit v1.2.3