aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pst
diff options
context:
space:
mode:
authorDon Lewis <truckman@FreeBSD.org>2012-01-11 21:38:05 +0000
committerDon Lewis <truckman@FreeBSD.org>2012-01-11 21:38:05 +0000
commit930a96e4fa4f1cae801d77684c8310a17e8f7cd1 (patch)
tree2e4d157e0116f1d7b362b712d4af0c4bfaf77c45 /sys/dev/pst
parent70e0bbedef95258a4dadc996d641a9bebd3f107d (diff)
Notes
Diffstat (limited to 'sys/dev/pst')
-rw-r--r--sys/dev/pst/pst-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pst/pst-pci.c b/sys/dev/pst/pst-pci.c
index c5f4a8592160..7b9626f1d463 100644
--- a/sys/dev/pst/pst-pci.c
+++ b/sys/dev/pst/pst-pci.c
@@ -95,7 +95,7 @@ iop_pci_attach(device_t dev)
sc->ibase = rman_get_virtual(sc->r_mem);
sc->reg = (struct i2o_registers *)sc->ibase;
sc->dev = dev;
- mtx_init(&sc->mtx, "pst lock", MTX_DEF, 0);
+ mtx_init(&sc->mtx, "pst lock", NULL, MTX_DEF);
if (!iop_init(sc))
return 0;