diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-23 15:21:06 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-23 15:21:06 +0000 |
commit | 4261325cd1c9de909ff50268d7d78246543574bc (patch) | |
tree | a10dc8c74e5ec981eaf39667de138e44393aa1af /sys/arch/amd64 | |
parent | c3fb7cf418d623d44f1f42f6ed17805b9714e360 (diff) |
Use config_activate_children() for our cf_activate function
ok mlarkin pirofti
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r-- | sys/arch/amd64/amd64/mainbus.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/mainbus.c b/sys/arch/amd64/amd64/mainbus.c index 3cfd3ab5585..faa06548b71 100644 --- a/sys/arch/amd64/amd64/mainbus.c +++ b/sys/arch/amd64/amd64/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.19 2009/04/21 19:18:09 kettenis Exp $ */ +/* $OpenBSD: mainbus.c,v 1.20 2009/11/23 15:21:05 deraadt Exp $ */ /* $NetBSD: mainbus.c,v 1.1 2003/04/26 18:39:29 fvdl Exp $ */ /* @@ -67,7 +67,8 @@ int mainbus_match(struct device *, void *, void *); void mainbus_attach(struct device *, struct device *, void *); struct cfattach mainbus_ca = { - sizeof(struct device), mainbus_match, mainbus_attach + sizeof(struct device), mainbus_match, mainbus_attach, NULL, + config_suspend_children }; struct cfdriver mainbus_cd = { |