diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2005-11-13 19:51:12 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2005-11-13 19:51:12 +0000 |
commit | a46eb072059bd8afeaf96b88ba7ca4273769dbca (patch) | |
tree | 5340eb0597158637dd6eff5b21bd75b179594403 /sys/arch | |
parent | 6c2c7fec05d08fbaa1997ed726d7c512482b86be (diff) |
Use name of device driver as wmesg for lock.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/macppc/dev/smu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/dev/smu.c b/sys/arch/macppc/dev/smu.c index 759829ea230..a17030c5ae2 100644 --- a/sys/arch/macppc/dev/smu.c +++ b/sys/arch/macppc/dev/smu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smu.c,v 1.5 2005/11/11 16:44:36 kettenis Exp $ */ +/* $OpenBSD: smu.c,v 1.6 2005/11/13 19:51:11 kettenis Exp $ */ /* * Copyright (c) 2005 Mark Kettenis @@ -234,7 +234,7 @@ smu_attach(struct device *parent, struct device *self, void *aux) return; } - lockinit(&sc->sc_lock, PZERO, "smulk", 0, 0); + lockinit(&sc->sc_lock, PZERO, sc->sc_dev.dv_xname, 0, 0); /* Establish smu-doorbell interrupt. */ mac_intr_establish(parent, intr, IST_EDGE, IPL_BIO, |