Fix order of last two arguments of mtx_init
Spotted by: jmcneill@NetBSD.org
This commit is contained in:
parent
a925f8a783
commit
7d629663f2
@ -173,7 +173,7 @@ bcm_vchiq_attach(device_t dev)
|
||||
return (ENXIO);
|
||||
}
|
||||
|
||||
mtx_init(&sc->lock, "vchiq", MTX_DEF, 0);
|
||||
mtx_init(&sc->lock, "vchiq", 0, MTX_DEF);
|
||||
bcm_vchiq_sc = sc;
|
||||
|
||||
vchiq_init();
|
||||
|
Loading…
x
Reference in New Issue
Block a user