diff options
| author | Nicolas Souchu <nsouch@FreeBSD.org> | 2002-03-25 21:22:35 +0000 |
|---|---|---|
| committer | Nicolas Souchu <nsouch@FreeBSD.org> | 2002-03-25 21:22:35 +0000 |
| commit | ea4122d2bf741fef648e16aa82ad42f5a3ba5382 (patch) | |
| tree | 3dbb588ab3543711e9177c2a2fffd8362296c79e /sys/dev/pcf | |
| parent | 0ef30ec62058c08c2543dcc99e94e5976fea50e9 (diff) | |
Notes
Diffstat (limited to 'sys/dev/pcf')
| -rw-r--r-- | sys/dev/pcf/pcf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pcf/pcf.c b/sys/dev/pcf/pcf.c index e4f8a69fb191..741243518dfd 100644 --- a/sys/dev/pcf/pcf.c +++ b/sys/dev/pcf/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); } |
