diff options
author | nsouch <nsouch@FreeBSD.org> | 2002-03-25 21:22:35 +0000 |
---|---|---|
committer | nsouch <nsouch@FreeBSD.org> | 2002-03-25 21:22:35 +0000 |
commit | ecc9a88e1e406c82e64264d9aafa86c93bcaae30 (patch) | |
tree | 3dbb588ab3543711e9177c2a2fffd8362296c79e /sys/i386/isa/pcf.c | |
parent | 66959139ebfb7094360b983d6364fea2f4967f42 (diff) | |
download | FreeBSD-src-ecc9a88e1e406c82e64264d9aafa86c93bcaae30.zip FreeBSD-src-ecc9a88e1e406c82e64264d9aafa86c93bcaae30.tar.gz |
Fix bktr and pcf compilation with LINT
Diffstat (limited to 'sys/i386/isa/pcf.c')
-rw-r--r-- | sys/i386/isa/pcf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/pcf.c b/sys/i386/isa/pcf.c index e4f8a69..7412435 100644 --- a/sys/i386/isa/pcf.c +++ b/sys/i386/isa/pcf.c @@ -197,10 +197,10 @@ pcf_attach(device_t pcfdev) return (error); } - pcf->iicbus = iicbus_alloc_bus(pcfdev); + pcf->iicbus = device_add_child(pcfdev, "iicbus", -1); /* probe and attach the iicbus */ - device_probe_and_attach(pcf->iicbus); + bus_generic_attach(pcfdev); return (0); } |