diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2022-04-06 18:59:31 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2022-04-06 18:59:31 +0000 |
commit | ebc1b592da53d1d38401806437530b56bffc8afd (patch) | |
tree | 5ee147f2b5a9dc203dd38da2c735f246fa830f58 /sys/dev/acpi/ipmi_acpi.c | |
parent | 90576ca3c44963267c861feb5432ae35c1ccd46b (diff) |
constify struct cfattach
Diffstat (limited to 'sys/dev/acpi/ipmi_acpi.c')
-rw-r--r-- | sys/dev/acpi/ipmi_acpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/ipmi_acpi.c b/sys/dev/acpi/ipmi_acpi.c index 42d68c901dd..25e2527a334 100644 --- a/sys/dev/acpi/ipmi_acpi.c +++ b/sys/dev/acpi/ipmi_acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipmi_acpi.c,v 1.4 2020/03/29 09:31:10 kettenis Exp $ */ +/* $OpenBSD: ipmi_acpi.c,v 1.5 2022/04/06 18:59:27 naddy Exp $ */ /* * Copyright (c) 2018 Patrick Wildt <patrick@blueri.se> * @@ -53,7 +53,7 @@ struct ipmi_acpi_softc { char sc_iotype; }; -struct cfattach ipmi_acpi_ca = { +const struct cfattach ipmi_acpi_ca = { sizeof(struct ipmi_acpi_softc), ipmi_acpi_match, ipmi_acpi_attach, }; |