summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-05-03 12:19:02 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-05-03 12:19:02 +0000
commit513a0027141971b4358203de84b9dc892ea9b9e4 (patch)
tree7c72734d342d89459534ae83134bddc703e61164 /sys
parentba25218838f2f092bf81d02ca3c493ecdf70d704 (diff)
missed an struct lock to struct rwlock in the softc.
found by and ok claudio@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/alipm.c4
1 files changed, 2 insertions, 2 deletions
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 *);