svn commit: r261211 - head/sys/arm/ti
John-Mark Gurney
jmg at FreeBSD.org
Mon Jan 27 17:31:22 UTC 2014
Author: jmg
Date: Mon Jan 27 17:31:21 2014
New Revision: 261211
URL: http://svnweb.freebsd.org/changeset/base/261211
Log:
fix args to mtx_init
Note that this commit hasn't been compile tested because these files
are not hooked up to the build...
PR: 186129
Submitted by: Takanori Sawada
Approved by: rpaulo
Modified:
head/sys/arm/ti/ti_mbox.c
head/sys/arm/ti/ti_pruss.c
Modified: head/sys/arm/ti/ti_mbox.c
==============================================================================
--- head/sys/arm/ti/ti_mbox.c Mon Jan 27 13:28:55 2014 (r261210)
+++ head/sys/arm/ti/ti_mbox.c Mon Jan 27 17:31:21 2014 (r261211)
@@ -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) {
Modified: head/sys/arm/ti/ti_pruss.c
==============================================================================
--- head/sys/arm/ti/ti_pruss.c Mon Jan 27 13:28:55 2014 (r261210)
+++ head/sys/arm/ti/ti_pruss.c Mon Jan 27 17:31:21 2014 (r261211)
@@ -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) {
More information about the svn-src-head
mailing list