diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-10-09 00:38:27 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-10-09 00:38:27 +0000 |
commit | ab27ef723dc14a293be4dea8839617241f3d3b85 (patch) | |
tree | 6246e90a691447a91c19badbfdbfb2592c8efdeb /sys/arch/powerpc64 | |
parent | 8889aa55424f348f51c5a92a1c3e462522dd8ff3 (diff) |
make attachments use pre-existing activate functions; ok deraadt@
Diffstat (limited to 'sys/arch/powerpc64')
-rw-r--r-- | sys/arch/powerpc64/dev/ipmi_opal.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/powerpc64/dev/ipmi_opal.c b/sys/arch/powerpc64/dev/ipmi_opal.c index d5449be20aa..028edcf5ff2 100644 --- a/sys/arch/powerpc64/dev/ipmi_opal.c +++ b/sys/arch/powerpc64/dev/ipmi_opal.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipmi_opal.c,v 1.3 2022/04/06 18:59:27 naddy Exp $ */ +/* $OpenBSD: ipmi_opal.c,v 1.4 2024/10/09 00:38:26 jsg Exp $ */ /* * Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org> * @@ -61,7 +61,8 @@ int ipmi_opal_match(struct device *, void *, void *); void ipmi_opal_attach(struct device *, struct device *, void *); const struct cfattach ipmi_opal_ca = { - sizeof (struct ipmi_opal_softc), ipmi_opal_match, ipmi_opal_attach + sizeof (struct ipmi_opal_softc), ipmi_opal_match, ipmi_opal_attach, + NULL, ipmi_activate }; int |