summaryrefslogtreecommitdiff
path: root/sys/arch/arm/mainbus
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-30 21:35:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-30 21:35:58 +0000
commitb0fc800de7e8d3eaae874bc61f1b5cb7abcdf6c6 (patch)
treeadeaa6f7b9f7a832bcfe1e4d7b13bdf7cca95974 /sys/arch/arm/mainbus
parent6bb6daa43666dc1ad3b2689ee1024066e424018d (diff)
Convert all powerhooks to activate functions, and provide powerhook stubs.
Of note: lcd stubs get pulled up to the parent; zts has to keep track of whether it is in use or not testing by myself and jakemsr; proof reading by oga
Diffstat (limited to 'sys/arch/arm/mainbus')
-rw-r--r--sys/arch/arm/mainbus/mainbus.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/arm/mainbus/mainbus.c b/sys/arch/arm/mainbus/mainbus.c
index 86fbaae9720..8f2a1e9f1b1 100644
--- a/sys/arch/arm/mainbus/mainbus.c
+++ b/sys/arch/arm/mainbus/mainbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mainbus.c,v 1.4 2010/04/27 16:43:23 drahn Exp $ */
+/* $OpenBSD: mainbus.c,v 1.5 2010/08/30 21:35:57 deraadt Exp $ */
/* $NetBSD: mainbus.c,v 1.3 2001/06/13 17:52:43 nathanw Exp $ */
/*
@@ -70,7 +70,8 @@ int mainbussearch (struct device *, void *, void *);
/* attach and device structures for the device */
struct cfattach mainbus_ca = {
- sizeof(struct device), mainbusmatch, mainbusattach
+ sizeof(struct device), mainbusmatch, mainbusattach, NULL,
+ config_activate_children
};
struct cfdriver mainbus_cd = {