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/i2c/bmc150.c | |
parent | 90576ca3c44963267c861feb5432ae35c1ccd46b (diff) |
constify struct cfattach
Diffstat (limited to 'sys/dev/i2c/bmc150.c')
-rw-r--r-- | sys/dev/i2c/bmc150.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/bmc150.c b/sys/dev/i2c/bmc150.c index 732691594e6..e276c28084f 100644 --- a/sys/dev/i2c/bmc150.c +++ b/sys/dev/i2c/bmc150.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bmc150.c,v 1.1 2017/11/30 14:53:21 kettenis Exp $ */ +/* $OpenBSD: bmc150.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */ /* * Copyright (c) 2017 Mark Kettenis @@ -59,7 +59,7 @@ struct bgw_softc { int bgw_match(struct device *, void *, void *); void bgw_attach(struct device *, struct device *, void *); -struct cfattach bgw_ca = { +const struct cfattach bgw_ca = { sizeof(struct bgw_softc), bgw_match, bgw_attach }; |