diff options
| author | Matthew N. Dodd <mdodd@FreeBSD.org> | 1999-12-03 08:41:24 +0000 |
|---|---|---|
| committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 1999-12-03 08:41:24 +0000 |
| commit | fe0d408987b42b531420ff2de76d534dbe7ecee7 (patch) | |
| tree | 6196b778a0e888c9c44157e090059018b00a3080 /sys/dev/bktr | |
| parent | b06e7af6ddadc3933a558d3e3ab7c76125611445 (diff) | |
Notes
Diffstat (limited to 'sys/dev/bktr')
| -rw-r--r-- | sys/dev/bktr/bktr_i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/bktr/bktr_i2c.c b/sys/dev/bktr/bktr_i2c.c index 7cd0ba040bae..43a5f35a24e9 100644 --- a/sys/dev/bktr/bktr_i2c.c +++ b/sys/dev/bktr/bktr_i2c.c @@ -159,10 +159,10 @@ bt848_i2c_attach(int unit, bt848_ptr_t base, struct bktr_i2c_softc *i2c_sc) btdata[unit].base = base; /* XXX add the I2C interface to the root_bus until pcibus is ready */ - interface = device_add_child(root_bus, "bti2c", unit, NULL); + interface = device_add_child(root_bus, "bti2c", unit); /* add bit-banging generic code onto bti2c interface */ - bitbang = device_add_child(interface, "iicbb", -1, NULL); + bitbang = device_add_child(interface, "iicbb", -1); /* probe and attach the interface, we need it NOW * bit-banging code is also probed and attached */ |
