summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/lis331dl.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/lis331dl.c
parent90576ca3c44963267c861feb5432ae35c1ccd46b (diff)
constify struct cfattach
Diffstat (limited to 'sys/dev/i2c/lis331dl.c')
-rw-r--r--sys/dev/i2c/lis331dl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/lis331dl.c b/sys/dev/i2c/lis331dl.c
index 76cef4b2df0..2fbffb50a84 100644
--- a/sys/dev/i2c/lis331dl.c
+++ b/sys/dev/i2c/lis331dl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lis331dl.c,v 1.1 2009/08/12 14:51:20 cnst Exp $ */
+/* $OpenBSD: lis331dl.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2009 Constantine A. Murenin <cnst+openbsd@bugmail.mojo.ru>
@@ -59,7 +59,7 @@ uint8_t lisa_readreg(struct lisa_softc *, uint8_t);
void lisa_writereg(struct lisa_softc *, uint8_t, uint8_t);
-struct cfattach lisa_ca = {
+const struct cfattach lisa_ca = {
sizeof(struct lisa_softc), lisa_match, lisa_attach
};