summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/arm/ti/ti_mbox.c2
-rw-r--r--sys/arm/ti/ti_pruss.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm/ti/ti_mbox.c b/sys/arm/ti/ti_mbox.c
index b7c9327..da00726 100644
--- a/sys/arm/ti/ti_mbox.c
+++ b/sys/arm/ti/ti_mbox.c
@@ -140,7 +140,7 @@ ti_mbox_attach(device_t dev)
}
sc = device_get_softc(dev);
rid = 0;
- mtx_init(&sc->sc_mtx, "TI mbox", MTX_DEF, 0);
+ mtx_init(&sc->sc_mtx, "TI mbox", NULL, MTX_DEF);
sc->sc_mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
RF_ACTIVE);
if (sc->sc_mem_res == NULL) {
diff --git a/sys/arm/ti/ti_pruss.c b/sys/arm/ti/ti_pruss.c
index f70e8ef..8b9ab4b 100644
--- a/sys/arm/ti/ti_pruss.c
+++ b/sys/arm/ti/ti_pruss.c
@@ -166,7 +166,7 @@ ti_pruss_attach(device_t dev)
}
sc = device_get_softc(dev);
rid = 0;
- mtx_init(&sc->sc_mtx, "TI PRUSS", MTX_DEF, 0);
+ mtx_init(&sc->sc_mtx, "TI PRUSS", NULL, MTX_DEF);
sc->sc_mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
RF_ACTIVE);
if (sc->sc_mem_res == NULL) {
OpenPOWER on IntegriCloud