summaryrefslogtreecommitdiffstats
path: root/sys/dev/sfxge/sfxge_mcdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sfxge/sfxge_mcdi.c')
-rw-r--r--sys/dev/sfxge/sfxge_mcdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sfxge/sfxge_mcdi.c b/sys/dev/sfxge/sfxge_mcdi.c
index 04a38fe..a1bc857 100644
--- a/sys/dev/sfxge/sfxge_mcdi.c
+++ b/sys/dev/sfxge/sfxge_mcdi.c
@@ -201,7 +201,7 @@ sfxge_mcdi_init(struct sfxge_softc *sc)
KASSERT(mcdi->state == SFXGE_MCDI_UNINITIALIZED,
("MCDI already initialized"));
- SFXGE_MCDI_LOCK_INIT(mcdi, "sfxge_mcdi");
+ SFXGE_MCDI_LOCK_INIT(mcdi, device_get_nameunit(sc->dev));
mcdi->state = SFXGE_MCDI_INITIALIZED;
OpenPOWER on IntegriCloud