From ab27ef723dc14a293be4dea8839617241f3d3b85 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Wed, 9 Oct 2024 00:38:27 +0000 Subject: make attachments use pre-existing activate functions; ok deraadt@ --- sys/arch/powerpc64/dev/ipmi_opal.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/arch/powerpc64') 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 * @@ -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 -- cgit v1.2.3