aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ppbus
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2024-07-25 04:22:58 +0000
committerWarner Losh <imp@FreeBSD.org>2024-07-25 04:22:58 +0000
commit5b56413d04e608379c9a306373554a8e4d321bc0 (patch)
treec9151d7d1f89e0d4d84120695ab396078fef3ad5 /sys/dev/ppbus
parent29d13f3d06dec06a2fc9636ca8308c0462f80cfc (diff)
Diffstat (limited to 'sys/dev/ppbus')
-rw-r--r--sys/dev/ppbus/lpbb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ppbus/lpbb.c b/sys/dev/ppbus/lpbb.c
index 560c7009b370..ce16471e7629 100644
--- a/sys/dev/ppbus/lpbb.c
+++ b/sys/dev/ppbus/lpbb.c
@@ -85,7 +85,7 @@ lpbb_attach(device_t dev)
device_t bitbang;
/* add generic bit-banging code */
- bitbang = device_add_child(dev, "iicbb", -1);
+ bitbang = device_add_child(dev, "iicbb", DEVICE_UNIT_ANY);
device_probe_and_attach(bitbang);
return (0);