summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/pca9554.c
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2022-04-06 18:59:31 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2022-04-06 18:59:31 +0000
commitebc1b592da53d1d38401806437530b56bffc8afd (patch)
tree5ee147f2b5a9dc203dd38da2c735f246fa830f58 /sys/dev/i2c/pca9554.c
parent90576ca3c44963267c861feb5432ae35c1ccd46b (diff)
constify struct cfattach
Diffstat (limited to 'sys/dev/i2c/pca9554.c')
-rw-r--r--sys/dev/i2c/pca9554.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/pca9554.c b/sys/dev/i2c/pca9554.c
index 41c71b68f45..d975c43dd36 100644
--- a/sys/dev/i2c/pca9554.c
+++ b/sys/dev/i2c/pca9554.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pca9554.c,v 1.18 2018/07/09 18:48:52 patrick Exp $ */
+/* $OpenBSD: pca9554.c,v 1.19 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
@@ -77,7 +77,7 @@ void pcagpio_config_pin(void *, uint32_t *, int);
int pcagpio_get_pin(void *, uint32_t *);
void pcagpio_set_pin(void *, uint32_t *, int);
-struct cfattach pcagpio_ca = {
+const struct cfattach pcagpio_ca = {
sizeof(struct pcagpio_softc), pcagpio_match, pcagpio_attach
};