diff options
author | 2017-03-12 21:48:56 +0000 | |
---|---|---|
committer | 2017-03-12 21:48:56 +0000 | |
commit | f1a9432433a2dd237878b3a98b7f5ddb26650b75 (patch) | |
tree | 5bb2919c7d020d5a7b4a2149f121da7a450941f0 | |
parent | enable acpisbs (diff) | |
download | wireguard-openbsd-f1a9432433a2dd237878b3a98b7f5ddb26650b75.tar.xz wireguard-openbsd-f1a9432433a2dd237878b3a98b7f5ddb26650b75.zip |
add const to struct cfattach
ok jcs
-rw-r--r-- | sys/dev/acpi/acpisbs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpisbs.c b/sys/dev/acpi/acpisbs.c index 4733fc6493f..a78e9054a9a 100644 --- a/sys/dev/acpi/acpisbs.c +++ b/sys/dev/acpi/acpisbs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpisbs.c,v 1.4 2017/03/12 21:30:44 jcs Exp $ */ +/* $OpenBSD: acpisbs.c,v 1.5 2017/03/12 21:48:56 jung Exp $ */ /* * Smart Battery Subsystem device driver * ACPI 5.0 spec section 10 @@ -133,7 +133,7 @@ int acpisbs_notify(struct aml_node *, int, void *); int acpi_smbus_read(struct acpisbs_softc *, uint8_t, uint8_t, int, void *); -struct cfattach acpisbs_ca = { +const struct cfattach acpisbs_ca = { sizeof(struct acpisbs_softc), acpisbs_match, acpisbs_attach, |