summaryrefslogtreecommitdiff
path: root/sys/dev/fdt
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r--sys/dev/fdt/amlpwrc.c4
-rw-r--r--sys/dev/fdt/bcm2711_pcie.c4
-rw-r--r--sys/dev/fdt/bcm2711_rng.c4
-rw-r--r--sys/dev/fdt/bcm2711_tmon.c2
-rw-r--r--sys/dev/fdt/bcm2835_bsc.c4
-rw-r--r--sys/dev/fdt/bcm2835_clock.c4
-rw-r--r--sys/dev/fdt/bcm2835_dmac.c4
-rw-r--r--sys/dev/fdt/bcm2835_gpio.c4
-rw-r--r--sys/dev/fdt/bcm2835_mbox.c4
-rw-r--r--sys/dev/fdt/bcm2835_sdhost.c4
-rw-r--r--sys/dev/fdt/bd718x7.c4
-rw-r--r--sys/dev/fdt/cwfg.c4
-rw-r--r--sys/dev/fdt/dapmic.c4
-rw-r--r--sys/dev/fdt/es8316ac.c4
-rw-r--r--sys/dev/fdt/exuart.c4
-rw-r--r--sys/dev/fdt/gfrtc.c4
-rw-r--r--sys/dev/fdt/gpiocharger.c4
-rw-r--r--sys/dev/fdt/gpioleds.c4
-rw-r--r--sys/dev/fdt/graphaudio.c4
-rw-r--r--sys/dev/fdt/if_bse_fdt.c4
-rw-r--r--sys/dev/fdt/if_mvpp.c6
-rw-r--r--sys/dev/fdt/iicmux.c4
-rw-r--r--sys/dev/fdt/imxdog.c4
-rw-r--r--sys/dev/fdt/imxdwusb.c4
-rw-r--r--sys/dev/fdt/imxehci.c4
-rw-r--r--sys/dev/fdt/imxiic_fdt.c4
-rw-r--r--sys/dev/fdt/imxpciephy.c4
-rw-r--r--sys/dev/fdt/imxpwm.c4
-rw-r--r--sys/dev/fdt/ipmi_fdt.c4
-rw-r--r--sys/dev/fdt/mvkpcie.c4
-rw-r--r--sys/dev/fdt/mvsw.c4
-rw-r--r--sys/dev/fdt/ociic.c4
-rw-r--r--sys/dev/fdt/pciecam.c4
-rw-r--r--sys/dev/fdt/rkanxdp.c4
-rw-r--r--sys/dev/fdt/rkdrm.c4
-rw-r--r--sys/dev/fdt/rkdwhdmi.c4
-rw-r--r--sys/dev/fdt/rkiis.c4
-rw-r--r--sys/dev/fdt/rkrng.c4
-rw-r--r--sys/dev/fdt/rktcphy.c4
-rw-r--r--sys/dev/fdt/rkvop.c4
-rw-r--r--sys/dev/fdt/simpleamp.c4
-rw-r--r--sys/dev/fdt/simpleaudio.c4
-rw-r--r--sys/dev/fdt/tcpci.c4
43 files changed, 86 insertions, 86 deletions
diff --git a/sys/dev/fdt/amlpwrc.c b/sys/dev/fdt/amlpwrc.c
index 64fb6bd2862..585705f305b 100644
--- a/sys/dev/fdt/amlpwrc.c
+++ b/sys/dev/fdt/amlpwrc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amlpwrc.c,v 1.3 2020/12/27 17:59:32 kettenis Exp $ */
+/* $OpenBSD: amlpwrc.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
@@ -66,7 +66,7 @@ struct amlpwrc_softc {
int amlpwrc_match(struct device *, void *, void *);
void amlpwrc_attach(struct device *, struct device *, void *);
-struct cfattach amlpwrc_ca = {
+const struct cfattach amlpwrc_ca = {
sizeof (struct amlpwrc_softc), amlpwrc_match, amlpwrc_attach
};
diff --git a/sys/dev/fdt/bcm2711_pcie.c b/sys/dev/fdt/bcm2711_pcie.c
index 2c980dd3052..c8d9225d0b9 100644
--- a/sys/dev/fdt/bcm2711_pcie.c
+++ b/sys/dev/fdt/bcm2711_pcie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcm2711_pcie.c,v 1.10 2021/12/06 18:02:58 kettenis Exp $ */
+/* $OpenBSD: bcm2711_pcie.c,v 1.11 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
@@ -84,7 +84,7 @@ struct bcmpcie_softc {
int bcmpcie_match(struct device *, void *, void *);
void bcmpcie_attach(struct device *, struct device *, void *);
-struct cfattach bcmpcie_ca = {
+const struct cfattach bcmpcie_ca = {
sizeof (struct bcmpcie_softc), bcmpcie_match, bcmpcie_attach
};
diff --git a/sys/dev/fdt/bcm2711_rng.c b/sys/dev/fdt/bcm2711_rng.c
index 3ee0e213c98..d8f5e3ea5e8 100644
--- a/sys/dev/fdt/bcm2711_rng.c
+++ b/sys/dev/fdt/bcm2711_rng.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcm2711_rng.c,v 1.2 2020/05/29 04:42:25 deraadt Exp $ */
+/* $OpenBSD: bcm2711_rng.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
@@ -50,7 +50,7 @@ struct bcmirng_softc {
int bcmirng_match(struct device *, void *, void *);
void bcmirng_attach(struct device *, struct device *, void *);
-struct cfattach bcmirng_ca = {
+const struct cfattach bcmirng_ca = {
sizeof (struct bcmirng_softc), bcmirng_match, bcmirng_attach
};
diff --git a/sys/dev/fdt/bcm2711_tmon.c b/sys/dev/fdt/bcm2711_tmon.c
index fb36740f1cf..8863342cf4c 100644
--- a/sys/dev/fdt/bcm2711_tmon.c
+++ b/sys/dev/fdt/bcm2711_tmon.c
@@ -49,7 +49,7 @@ struct bcmtmon_softc {
int bcmtmon_match(struct device *, void *, void *);
void bcmtmon_attach(struct device *, struct device *, void *);
-struct cfattach bcmtmon_ca = {
+const struct cfattach bcmtmon_ca = {
sizeof (struct bcmtmon_softc), bcmtmon_match, bcmtmon_attach
};
diff --git a/sys/dev/fdt/bcm2835_bsc.c b/sys/dev/fdt/bcm2835_bsc.c
index 9d57d72d0e4..aab234fa31c 100644
--- a/sys/dev/fdt/bcm2835_bsc.c
+++ b/sys/dev/fdt/bcm2835_bsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcm2835_bsc.c,v 1.3 2021/11/21 11:00:40 kettenis Exp $ */
+/* $OpenBSD: bcm2835_bsc.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
@@ -79,7 +79,7 @@ struct bcmbsc_softc {
int bcmbsc_match(struct device *, void *, void *);
void bcmbsc_attach(struct device *, struct device *, void *);
-struct cfattach bcmbsc_ca = {
+const struct cfattach bcmbsc_ca = {
sizeof (struct bcmbsc_softc), bcmbsc_match, bcmbsc_attach
};
diff --git a/sys/dev/fdt/bcm2835_clock.c b/sys/dev/fdt/bcm2835_clock.c
index 4d627e543e6..6e0d877c1f4 100644
--- a/sys/dev/fdt/bcm2835_clock.c
+++ b/sys/dev/fdt/bcm2835_clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcm2835_clock.c,v 1.2 2020/04/19 16:48:39 kettenis Exp $ */
+/* $OpenBSD: bcm2835_clock.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Tobias Heider <tobhe@openbsd.org>
@@ -84,7 +84,7 @@ struct bcmclock_softc {
int bcmclock_match(struct device *, void *, void *);
void bcmclock_attach(struct device *, struct device *, void *);
-struct cfattach bcmclock_ca = {
+const struct cfattach bcmclock_ca = {
sizeof(struct bcmclock_softc),
bcmclock_match,
bcmclock_attach,
diff --git a/sys/dev/fdt/bcm2835_dmac.c b/sys/dev/fdt/bcm2835_dmac.c
index 95bc611f533..145810dd7af 100644
--- a/sys/dev/fdt/bcm2835_dmac.c
+++ b/sys/dev/fdt/bcm2835_dmac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcm2835_dmac.c,v 1.1 2020/04/21 18:56:54 tobhe Exp $ */
+/* $OpenBSD: bcm2835_dmac.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Tobias Heider <tobhe@openbsd.org>
@@ -87,7 +87,7 @@ struct bcmdmac_channel {
int bcmdmac_match(struct device *, void *, void *);
void bcmdmac_attach(struct device *, struct device *, void *);
-struct cfattach bcmdmac_ca = {
+const struct cfattach bcmdmac_ca = {
sizeof(struct bcmdmac_softc),
bcmdmac_match,
bcmdmac_attach,
diff --git a/sys/dev/fdt/bcm2835_gpio.c b/sys/dev/fdt/bcm2835_gpio.c
index 6bb4497295c..eb49352472d 100644
--- a/sys/dev/fdt/bcm2835_gpio.c
+++ b/sys/dev/fdt/bcm2835_gpio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcm2835_gpio.c,v 1.4 2020/06/12 13:21:55 kettenis Exp $ */
+/* $OpenBSD: bcm2835_gpio.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
@@ -80,7 +80,7 @@ struct bcmgpio_softc {
int bcmgpio_match(struct device *, void *, void *);
void bcmgpio_attach(struct device *, struct device *, void *);
-struct cfattach bcmgpio_ca = {
+const struct cfattach bcmgpio_ca = {
sizeof (struct bcmgpio_softc), bcmgpio_match, bcmgpio_attach
};
diff --git a/sys/dev/fdt/bcm2835_mbox.c b/sys/dev/fdt/bcm2835_mbox.c
index e09b3010504..acf886aa287 100644
--- a/sys/dev/fdt/bcm2835_mbox.c
+++ b/sys/dev/fdt/bcm2835_mbox.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcm2835_mbox.c,v 1.2 2021/05/30 15:05:33 visa Exp $ */
+/* $OpenBSD: bcm2835_mbox.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Tobias Heider <tobhe@openbsd.org>
@@ -85,7 +85,7 @@ static struct bcmmbox_softc *bcmmbox_sc;
int bcmmbox_match(struct device *, void *, void *);
void bcmmbox_attach(struct device *, struct device *, void *);
-struct cfattach bcmmbox_ca = {
+const struct cfattach bcmmbox_ca = {
sizeof(struct bcmmbox_softc),
bcmmbox_match,
bcmmbox_attach,
diff --git a/sys/dev/fdt/bcm2835_sdhost.c b/sys/dev/fdt/bcm2835_sdhost.c
index 6507a302bc9..445b129f870 100644
--- a/sys/dev/fdt/bcm2835_sdhost.c
+++ b/sys/dev/fdt/bcm2835_sdhost.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcm2835_sdhost.c,v 1.1 2020/04/22 09:48:44 kettenis Exp $ */
+/* $OpenBSD: bcm2835_sdhost.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Tobias Heider <tobhe@openbsd.org>
@@ -146,7 +146,7 @@ struct bcmsdhost_softc {
int bcmsdhost_match(struct device *, void *, void *);
void bcmsdhost_attach(struct device *, struct device *, void *);
-struct cfattach bcmsdhost_ca = {
+const struct cfattach bcmsdhost_ca = {
sizeof(struct bcmsdhost_softc),
bcmsdhost_match,
bcmsdhost_attach
diff --git a/sys/dev/fdt/bd718x7.c b/sys/dev/fdt/bd718x7.c
index baec9f63ccc..99d88ed8125 100644
--- a/sys/dev/fdt/bd718x7.c
+++ b/sys/dev/fdt/bd718x7.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bd718x7.c,v 1.3 2020/11/12 10:47:07 patrick Exp $ */
+/* $OpenBSD: bd718x7.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2019 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
@@ -62,7 +62,7 @@ void bdpmic_attach_regulator(struct bdpmic_softc *, int);
uint8_t bdpmic_reg_read(struct bdpmic_softc *, int);
void bdpmic_reg_write(struct bdpmic_softc *, int, uint8_t);
-struct cfattach bdpmic_ca = {
+const struct cfattach bdpmic_ca = {
sizeof(struct bdpmic_softc), bdpmic_match, bdpmic_attach
};
diff --git a/sys/dev/fdt/cwfg.c b/sys/dev/fdt/cwfg.c
index 7090d1cfcf7..7eb4b6f863b 100644
--- a/sys/dev/fdt/cwfg.c
+++ b/sys/dev/fdt/cwfg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cwfg.c,v 1.6 2021/04/01 12:06:00 kn Exp $ */
+/* $OpenBSD: cwfg.c,v 1.7 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: cwfg.c,v 1.1 2020/01/03 18:00:05 jmcneill Exp $ */
/*-
* Copyright (c) 2020 Jared McNeill <jmcneill@invisible.ca>
@@ -104,7 +104,7 @@ int cwfg_read(struct cwfg_softc *, uint8_t, uint8_t *);
int cwfg_write(struct cwfg_softc *, uint8_t, uint8_t);
void cwfg_update_sensors(void *);
-struct cfattach cwfg_ca = {
+const struct cfattach cwfg_ca = {
sizeof(struct cwfg_softc), cwfg_match, cwfg_attach
};
diff --git a/sys/dev/fdt/dapmic.c b/sys/dev/fdt/dapmic.c
index cc8d529302a..64a20d099f4 100644
--- a/sys/dev/fdt/dapmic.c
+++ b/sys/dev/fdt/dapmic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dapmic.c,v 1.1 2021/06/16 12:37:24 kettenis Exp $ */
+/* $OpenBSD: dapmic.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
@@ -66,7 +66,7 @@ struct dapmic_softc {
int dapmic_match(struct device *, void *, void *);
void dapmic_attach(struct device *, struct device *, void *);
-struct cfattach dapmic_ca = {
+const struct cfattach dapmic_ca = {
sizeof(struct dapmic_softc), dapmic_match, dapmic_attach
};
diff --git a/sys/dev/fdt/es8316ac.c b/sys/dev/fdt/es8316ac.c
index 57d1734f261..d6a18560191 100644
--- a/sys/dev/fdt/es8316ac.c
+++ b/sys/dev/fdt/es8316ac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: es8316ac.c,v 1.2 2022/03/21 19:22:40 miod Exp $ */
+/* $OpenBSD: es8316ac.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: es8316ac.c,v 1.2 2020/01/03 01:00:08 jmcneill Exp $ */
/*-
* Copyright (c) 2020 Jared McNeill <jmcneill@invisible.ca>
@@ -138,7 +138,7 @@ const struct audio_hw_if escodec_hw_if = {
.query_devinfo = escodec_query_devinfo,
};
-struct cfattach escodec_ca = {
+const struct cfattach escodec_ca = {
sizeof(struct escodec_softc), escodec_match, escodec_attach
};
diff --git a/sys/dev/fdt/exuart.c b/sys/dev/fdt/exuart.c
index d7ee9757a32..151035d35aa 100644
--- a/sys/dev/fdt/exuart.c
+++ b/sys/dev/fdt/exuart.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exuart.c,v 1.9 2021/09/01 09:29:31 jan Exp $ */
+/* $OpenBSD: exuart.c,v 1.10 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Dale Rahn <drahn@motorola.com>
*
@@ -123,7 +123,7 @@ struct cfdriver exuart_cd = {
NULL, "exuart", DV_TTY
};
-struct cfattach exuart_ca = {
+const struct cfattach exuart_ca = {
sizeof(struct exuart_softc), exuart_match, exuart_attach
};
diff --git a/sys/dev/fdt/gfrtc.c b/sys/dev/fdt/gfrtc.c
index 503767ea631..b946b514bd2 100644
--- a/sys/dev/fdt/gfrtc.c
+++ b/sys/dev/fdt/gfrtc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gfrtc.c,v 1.1 2021/04/24 05:14:45 jsg Exp $ */
+/* $OpenBSD: gfrtc.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2021 Jonathan Gray <jsg@openbsd.org>
@@ -52,7 +52,7 @@ void gfrtc_attach(struct device *, struct device *, void *);
int gfrtc_gettime(struct todr_chip_handle *, struct timeval *);
int gfrtc_settime(struct todr_chip_handle *, struct timeval *);
-struct cfattach gfrtc_ca = {
+const struct cfattach gfrtc_ca = {
sizeof(struct gfrtc_softc), gfrtc_match, gfrtc_attach
};
diff --git a/sys/dev/fdt/gpiocharger.c b/sys/dev/fdt/gpiocharger.c
index eae1dd64e38..365165a4194 100644
--- a/sys/dev/fdt/gpiocharger.c
+++ b/sys/dev/fdt/gpiocharger.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gpiocharger.c,v 1.1 2021/09/25 18:40:08 kn Exp $ */
+/* $OpenBSD: gpiocharger.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2021 Klemens Nanni <kn@openbsd.org>
*
@@ -43,7 +43,7 @@ struct gpiocharger_softc {
int gpiocharger_match(struct device *, void *, void *);
void gpiocharger_attach(struct device *, struct device *, void *);
-struct cfattach gpiocharger_ca = {
+const struct cfattach gpiocharger_ca = {
sizeof (struct gpiocharger_softc), gpiocharger_match, gpiocharger_attach
};
diff --git a/sys/dev/fdt/gpioleds.c b/sys/dev/fdt/gpioleds.c
index 6a58344ac8b..1d28066eb52 100644
--- a/sys/dev/fdt/gpioleds.c
+++ b/sys/dev/fdt/gpioleds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gpioleds.c,v 1.3 2021/11/07 16:43:12 kn Exp $ */
+/* $OpenBSD: gpioleds.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2021 Klemens Nanni <kn@openbsd.org>
*
@@ -38,7 +38,7 @@ struct gpioleds_softc {
int gpioleds_match(struct device *, void *, void *);
void gpioleds_attach(struct device *, struct device *, void *);
-struct cfattach gpioleds_ca = {
+const struct cfattach gpioleds_ca = {
sizeof (struct gpioleds_softc), gpioleds_match, gpioleds_attach
};
diff --git a/sys/dev/fdt/graphaudio.c b/sys/dev/fdt/graphaudio.c
index d09e08ecea7..af6eb4c370a 100644
--- a/sys/dev/fdt/graphaudio.c
+++ b/sys/dev/fdt/graphaudio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: graphaudio.c,v 1.3 2022/03/21 19:22:40 miod Exp $ */
+/* $OpenBSD: graphaudio.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
@@ -83,7 +83,7 @@ const struct audio_hw_if graphaudio_hw_if = {
.halt_input = graphaudio_halt_input,
};
-struct cfattach graphaudio_ca = {
+const struct cfattach graphaudio_ca = {
sizeof(struct graphaudio_softc), graphaudio_match, graphaudio_attach
};
diff --git a/sys/dev/fdt/if_bse_fdt.c b/sys/dev/fdt/if_bse_fdt.c
index 5769aaacad1..ed5659bc151 100644
--- a/sys/dev/fdt/if_bse_fdt.c
+++ b/sys/dev/fdt/if_bse_fdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bse_fdt.c,v 1.1 2020/04/18 07:55:06 kettenis Exp $ */
+/* $OpenBSD: if_bse_fdt.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
@@ -36,7 +36,7 @@
int bse_fdt_match(struct device *, void *, void *);
void bse_fdt_attach(struct device *, struct device *, void *);
-struct cfattach bse_fdt_ca = {
+const struct cfattach bse_fdt_ca = {
sizeof (struct genet_softc), bse_fdt_match, bse_fdt_attach
};
diff --git a/sys/dev/fdt/if_mvpp.c b/sys/dev/fdt/if_mvpp.c
index e26b6130821..438652bc585 100644
--- a/sys/dev/fdt/if_mvpp.c
+++ b/sys/dev/fdt/if_mvpp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mvpp.c,v 1.48 2021/07/07 21:21:48 patrick Exp $ */
+/* $OpenBSD: if_mvpp.c,v 1.49 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2008, 2019 Mark Kettenis <kettenis@openbsd.org>
* Copyright (c) 2017, 2020 Patrick Wildt <patrick@blueri.se>
@@ -237,7 +237,7 @@ int mvpp2_match(struct device *, void *, void *);
void mvpp2_attach(struct device *, struct device *, void *);
void mvpp2_attach_deferred(struct device *);
-struct cfattach mvppc_ca = {
+const struct cfattach mvppc_ca = {
sizeof(struct mvpp2_softc), mvpp2_match, mvpp2_attach
};
@@ -248,7 +248,7 @@ struct cfdriver mvppc_cd = {
int mvpp2_port_match(struct device *, void *, void *);
void mvpp2_port_attach(struct device *, struct device *, void *);
-struct cfattach mvpp_ca = {
+const struct cfattach mvpp_ca = {
sizeof(struct mvpp2_port), mvpp2_port_match, mvpp2_port_attach
};
diff --git a/sys/dev/fdt/iicmux.c b/sys/dev/fdt/iicmux.c
index e564a366f37..0d875627d1e 100644
--- a/sys/dev/fdt/iicmux.c
+++ b/sys/dev/fdt/iicmux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iicmux.c,v 1.1 2021/11/21 11:02:21 kettenis Exp $ */
+/* $OpenBSD: iicmux.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
@@ -58,7 +58,7 @@ struct iicmux_softc {
int iicmux_match(struct device *, void *, void *);
void iicmux_attach(struct device *, struct device *, void *);
-struct cfattach iicmux_ca = {
+const struct cfattach iicmux_ca = {
sizeof(struct iicmux_softc), iicmux_match, iicmux_attach
};
diff --git a/sys/dev/fdt/imxdog.c b/sys/dev/fdt/imxdog.c
index 73ca0200bb8..d95198eae77 100644
--- a/sys/dev/fdt/imxdog.c
+++ b/sys/dev/fdt/imxdog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxdog.c,v 1.3 2021/05/28 13:08:37 patrick Exp $ */
+/* $OpenBSD: imxdog.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2012-2013,2021 Patrick Wildt <patrick@blueri.se>
*
@@ -55,7 +55,7 @@ void imxdog_attach(struct device *, struct device *, void *);
void imxdog_reset(void);
void imxdog_timeout(void *);
-struct cfattach imxdog_ca = {
+const struct cfattach imxdog_ca = {
sizeof (struct imxdog_softc), imxdog_match, imxdog_attach
};
diff --git a/sys/dev/fdt/imxdwusb.c b/sys/dev/fdt/imxdwusb.c
index 5e2adb2a7e1..d7b51ff3608 100644
--- a/sys/dev/fdt/imxdwusb.c
+++ b/sys/dev/fdt/imxdwusb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxdwusb.c,v 1.4 2020/12/19 01:21:35 patrick Exp $ */
+/* $OpenBSD: imxdwusb.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2017, 2018 Mark Kettenis <kettenis@openbsd.org>
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
@@ -44,7 +44,7 @@ struct imxdwusb_softc {
int imxdwusb_match(struct device *, void *, void *);
void imxdwusb_attach(struct device *, struct device *, void *);
-struct cfattach imxdwusb_ca = {
+const struct cfattach imxdwusb_ca = {
sizeof(struct imxdwusb_softc), imxdwusb_match, imxdwusb_attach
};
diff --git a/sys/dev/fdt/imxehci.c b/sys/dev/fdt/imxehci.c
index 9328fb9a671..effa9f9a551 100644
--- a/sys/dev/fdt/imxehci.c
+++ b/sys/dev/fdt/imxehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxehci.c,v 1.5 2021/11/05 09:36:30 patrick Exp $ */
+/* $OpenBSD: imxehci.c,v 1.6 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
*
@@ -94,7 +94,7 @@ struct imxehci_softc {
uint32_t sc_unit;
};
-struct cfattach imxehci_ca = {
+const struct cfattach imxehci_ca = {
sizeof (struct imxehci_softc), imxehci_match, imxehci_attach,
imxehci_detach
};
diff --git a/sys/dev/fdt/imxiic_fdt.c b/sys/dev/fdt/imxiic_fdt.c
index f6d21ffe604..3d9280a18f5 100644
--- a/sys/dev/fdt/imxiic_fdt.c
+++ b/sys/dev/fdt/imxiic_fdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxiic_fdt.c,v 1.2 2021/03/11 09:15:25 patrick Exp $ */
+/* $OpenBSD: imxiic_fdt.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2013 Patrick Wildt <patrick@blueri.se>
*
@@ -40,7 +40,7 @@ void imxiic_fdt_attach(struct device *, struct device *, void *);
void imxiic_fdt_bus_scan(struct device *, struct i2cbus_attach_args *, void *);
-struct cfattach imxiic_fdt_ca = {
+const struct cfattach imxiic_fdt_ca = {
sizeof(struct imxiic_fdt_softc), imxiic_fdt_match, imxiic_fdt_attach
};
diff --git a/sys/dev/fdt/imxpciephy.c b/sys/dev/fdt/imxpciephy.c
index cff4c2c31fd..c8a31353283 100644
--- a/sys/dev/fdt/imxpciephy.c
+++ b/sys/dev/fdt/imxpciephy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxpciephy.c,v 1.1 2020/04/26 15:03:04 patrick Exp $ */
+/* $OpenBSD: imxpciephy.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
*
@@ -35,7 +35,7 @@ struct imxpciephy_softc {
int imxpciephy_match(struct device *, void *, void *);
void imxpciephy_attach(struct device *, struct device *, void *);
-struct cfattach imxpciephy_ca = {
+const struct cfattach imxpciephy_ca = {
sizeof(struct imxpciephy_softc), imxpciephy_match, imxpciephy_attach
};
diff --git a/sys/dev/fdt/imxpwm.c b/sys/dev/fdt/imxpwm.c
index 6ae9da177d6..8d35d360568 100644
--- a/sys/dev/fdt/imxpwm.c
+++ b/sys/dev/fdt/imxpwm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxpwm.c,v 1.1 2020/03/27 16:53:06 patrick Exp $ */
+/* $OpenBSD: imxpwm.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2018-2020 Patrick Wildt <patrick@blueri.se>
*
@@ -72,7 +72,7 @@ struct imxpwm_softc {
int imxpwm_match(struct device *, void *, void *);
void imxpwm_attach(struct device *, struct device *, void *);
-struct cfattach imxpwm_ca = {
+const struct cfattach imxpwm_ca = {
sizeof(struct imxpwm_softc), imxpwm_match, imxpwm_attach
};
diff --git a/sys/dev/fdt/ipmi_fdt.c b/sys/dev/fdt/ipmi_fdt.c
index 8008d95c9fc..d2f7723f20c 100644
--- a/sys/dev/fdt/ipmi_fdt.c
+++ b/sys/dev/fdt/ipmi_fdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipmi_fdt.c,v 1.1 2020/03/29 09:31:11 kettenis Exp $ */
+/* $OpenBSD: ipmi_fdt.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
@@ -30,7 +30,7 @@
int ipmi_fdt_match(struct device *, void *, void *);
void ipmi_fdt_attach(struct device *, struct device *, void *);
-struct cfattach ipmi_fdt_ca = {
+const struct cfattach ipmi_fdt_ca = {
sizeof (struct ipmi_softc), ipmi_fdt_match, ipmi_fdt_attach
};
diff --git a/sys/dev/fdt/mvkpcie.c b/sys/dev/fdt/mvkpcie.c
index 4dcb0421f1e..592adfa48f8 100644
--- a/sys/dev/fdt/mvkpcie.c
+++ b/sys/dev/fdt/mvkpcie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mvkpcie.c,v 1.12 2022/02/08 09:41:04 jsg Exp $ */
+/* $OpenBSD: mvkpcie.c,v 1.13 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
@@ -207,7 +207,7 @@ struct mvkpcie_softc {
int mvkpcie_match(struct device *, void *, void *);
void mvkpcie_attach(struct device *, struct device *, void *);
-struct cfattach mvkpcie_ca = {
+const struct cfattach mvkpcie_ca = {
sizeof (struct mvkpcie_softc), mvkpcie_match, mvkpcie_attach
};
diff --git a/sys/dev/fdt/mvsw.c b/sys/dev/fdt/mvsw.c
index b3f442fc705..5b8d2512162 100644
--- a/sys/dev/fdt/mvsw.c
+++ b/sys/dev/fdt/mvsw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mvsw.c,v 1.4 2021/09/06 19:55:27 patrick Exp $ */
+/* $OpenBSD: mvsw.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
@@ -80,7 +80,7 @@ struct mvsw_softc {
int mvsw_match(struct device *, void *, void *);
void mvsw_attach(struct device *, struct device *, void *);
-struct cfattach mvsw_ca = {
+const struct cfattach mvsw_ca = {
sizeof (struct mvsw_softc), mvsw_match, mvsw_attach
};
diff --git a/sys/dev/fdt/ociic.c b/sys/dev/fdt/ociic.c
index a184acf1a32..0f165fb0623 100644
--- a/sys/dev/fdt/ociic.c
+++ b/sys/dev/fdt/ociic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ociic.c,v 1.2 2021/06/23 13:39:12 kettenis Exp $ */
+/* $OpenBSD: ociic.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
@@ -89,7 +89,7 @@ ociic_clr(struct ociic_softc *sc, bus_size_t reg, uint8_t bits)
int ociic_match(struct device *, void *, void *);
void ociic_attach(struct device *, struct device *, void *);
-struct cfattach ociic_ca = {
+const struct cfattach ociic_ca = {
sizeof (struct ociic_softc), ociic_match, ociic_attach
};
diff --git a/sys/dev/fdt/pciecam.c b/sys/dev/fdt/pciecam.c
index da640f698aa..ffae96f0b0a 100644
--- a/sys/dev/fdt/pciecam.c
+++ b/sys/dev/fdt/pciecam.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciecam.c,v 1.3 2021/06/25 17:41:22 patrick Exp $ */
+/* $OpenBSD: pciecam.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2013,2017 Patrick Wildt <patrick@blueri.se>
*
@@ -120,7 +120,7 @@ struct interrupt_controller pciecam_ic = {
.ic_barrier = intr_barrier
};
-struct cfattach pciecam_ca = {
+const struct cfattach pciecam_ca = {
sizeof (struct pciecam_softc), pciecam_match, pciecam_attach
};
diff --git a/sys/dev/fdt/rkanxdp.c b/sys/dev/fdt/rkanxdp.c
index 1d87a2fccb1..54e8e778512 100644
--- a/sys/dev/fdt/rkanxdp.c
+++ b/sys/dev/fdt/rkanxdp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rkanxdp.c,v 1.4 2020/06/08 04:47:58 jsg Exp $ */
+/* $OpenBSD: rkanxdp.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: rk_anxdp.c,v 1.2 2020/01/04 12:08:32 jmcneill Exp $ */
/*-
* Copyright (c) 2019 Jonathan A. Kollasch <jakllsch@kollasch.net>
@@ -77,7 +77,7 @@ void rkanxdp_encoder_dpms(struct drm_encoder *, int);
int rkanxdp_ep_activate(void *, struct endpoint *, void *);
void *rkanxdp_ep_get_cookie(void *, struct endpoint *);
-struct cfattach rkanxdp_ca = {
+const struct cfattach rkanxdp_ca = {
sizeof (struct rkanxdp_softc), rkanxdp_match, rkanxdp_attach
};
diff --git a/sys/dev/fdt/rkdrm.c b/sys/dev/fdt/rkdrm.c
index 33add572e2b..bccda1b84db 100644
--- a/sys/dev/fdt/rkdrm.c
+++ b/sys/dev/fdt/rkdrm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rkdrm.c,v 1.12 2022/01/14 06:52:58 jsg Exp $ */
+/* $OpenBSD: rkdrm.c,v 1.13 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: rk_drm.c,v 1.3 2019/12/15 01:00:58 mrg Exp $ */
/*-
* Copyright (c) 2019 Jared D. McNeill <jmcneill@invisible.ca>
@@ -81,7 +81,7 @@ const struct drm_gem_object_funcs rkdrm_gem_object_funcs = {
.free = drm_gem_cma_free_object,
};
-struct cfattach rkdrm_ca = {
+const struct cfattach rkdrm_ca = {
sizeof (struct rkdrm_softc), rkdrm_match, rkdrm_attach
};
diff --git a/sys/dev/fdt/rkdwhdmi.c b/sys/dev/fdt/rkdwhdmi.c
index 7d5fe9e4c63..c325f0cc527 100644
--- a/sys/dev/fdt/rkdwhdmi.c
+++ b/sys/dev/fdt/rkdwhdmi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rkdwhdmi.c,v 1.5 2020/06/30 02:19:11 deraadt Exp $ */
+/* $OpenBSD: rkdwhdmi.c,v 1.6 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: rk_dwhdmi.c,v 1.4 2019/12/17 18:26:36 jakllsch Exp $ */
/*-
@@ -100,7 +100,7 @@ void rkdwhdmi_mode_set(struct dwhdmi_softc *, const struct drm_display_mode *,
enum drm_mode_status rkdwhdmi_mode_valid(struct dwhdmi_softc *,
const struct drm_display_mode *);
-struct cfattach rkdwhdmi_ca = {
+const struct cfattach rkdwhdmi_ca = {
sizeof (struct rkdwhdmi_softc), rkdwhdmi_match, rkdwhdmi_attach
};
diff --git a/sys/dev/fdt/rkiis.c b/sys/dev/fdt/rkiis.c
index baf3c1d6bf3..e294d583b13 100644
--- a/sys/dev/fdt/rkiis.c
+++ b/sys/dev/fdt/rkiis.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rkiis.c,v 1.2 2022/03/21 19:22:40 miod Exp $ */
+/* $OpenBSD: rkiis.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: rk_i2s.c,v 1.3 2020/02/29 05:51:10 isaki Exp $ */
/*-
* Copyright (c) 2019 Jared McNeill <jmcneill@invisible.ca>
@@ -211,7 +211,7 @@ const struct audio_hw_if rkiis_hw_if = {
.halt_input = rkiis_halt_input,
};
-struct cfattach rkiis_ca = {
+const struct cfattach rkiis_ca = {
sizeof (struct rkiis_softc), rkiis_match, rkiis_attach
};
diff --git a/sys/dev/fdt/rkrng.c b/sys/dev/fdt/rkrng.c
index eaecdf41d6d..7108742dac7 100644
--- a/sys/dev/fdt/rkrng.c
+++ b/sys/dev/fdt/rkrng.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rkrng.c,v 1.3 2020/05/29 04:42:25 deraadt Exp $ */
+/* $OpenBSD: rkrng.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
@@ -52,7 +52,7 @@ struct rkrng_softc {
int rkrng_match(struct device *, void *, void *);
void rkrng_attach(struct device *, struct device *, void *);
-struct cfattach rkrng_ca = {
+const struct cfattach rkrng_ca = {
sizeof (struct rkrng_softc), rkrng_match, rkrng_attach
};
diff --git a/sys/dev/fdt/rktcphy.c b/sys/dev/fdt/rktcphy.c
index cd68538905a..3a19e05a3c0 100644
--- a/sys/dev/fdt/rktcphy.c
+++ b/sys/dev/fdt/rktcphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rktcphy.c,v 1.1 2021/06/29 12:43:09 patrick Exp $ */
+/* $OpenBSD: rktcphy.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
@@ -128,7 +128,7 @@ void rktcphy_attach(struct device *, struct device *, void *);
void rktcphy_set_usb2_only(struct rktcphy_softc *, int);
int rktcphy_enable(void *, uint32_t *);
-struct cfattach rktcphy_ca = {
+const struct cfattach rktcphy_ca = {
sizeof (struct rktcphy_softc), rktcphy_match, rktcphy_attach
};
diff --git a/sys/dev/fdt/rkvop.c b/sys/dev/fdt/rkvop.c
index 4595be00ce2..0c6994b365a 100644
--- a/sys/dev/fdt/rkvop.c
+++ b/sys/dev/fdt/rkvop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rkvop.c,v 1.5 2022/01/14 06:52:58 jsg Exp $ */
+/* $OpenBSD: rkvop.c,v 1.6 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: rk_vop.c,v 1.6 2020/01/05 12:14:35 mrg Exp $ */
/*-
* Copyright (c) 2019 Jared D. McNeill <jmcneill@invisible.ca>
@@ -185,7 +185,7 @@ struct rkvop_config rk3399_vop_lit_config = {
.set_polarity = rk3399_vop_set_polarity,
};
-struct cfattach rkvop_ca = {
+const struct cfattach rkvop_ca = {
sizeof (struct rkvop_softc), rkvop_match, rkvop_attach
};
diff --git a/sys/dev/fdt/simpleamp.c b/sys/dev/fdt/simpleamp.c
index 23617d4ab8e..cefa90cc1a3 100644
--- a/sys/dev/fdt/simpleamp.c
+++ b/sys/dev/fdt/simpleamp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: simpleamp.c,v 1.3 2022/03/21 19:22:40 miod Exp $ */
+/* $OpenBSD: simpleamp.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
*
@@ -51,7 +51,7 @@ const struct audio_hw_if simpleamp_hw_if = {
.close = simpleamp_close,
};
-struct cfattach simpleamp_ca = {
+const struct cfattach simpleamp_ca = {
sizeof(struct simpleamp_softc), simpleamp_match, simpleamp_attach
};
diff --git a/sys/dev/fdt/simpleaudio.c b/sys/dev/fdt/simpleaudio.c
index 482c453d5fc..64559ca5759 100644
--- a/sys/dev/fdt/simpleaudio.c
+++ b/sys/dev/fdt/simpleaudio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: simpleaudio.c,v 1.4 2022/03/21 19:22:40 miod Exp $ */
+/* $OpenBSD: simpleaudio.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
*
@@ -85,7 +85,7 @@ const struct audio_hw_if simpleaudio_hw_if = {
.halt_input = simpleaudio_halt_input,
};
-struct cfattach simpleaudio_ca = {
+const struct cfattach simpleaudio_ca = {
sizeof(struct simpleaudio_softc), simpleaudio_match, simpleaudio_attach
};
diff --git a/sys/dev/fdt/tcpci.c b/sys/dev/fdt/tcpci.c
index d521fb388c3..bde451425c8 100644
--- a/sys/dev/fdt/tcpci.c
+++ b/sys/dev/fdt/tcpci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcpci.c,v 1.2 2021/02/05 00:42:25 patrick Exp $ */
+/* $OpenBSD: tcpci.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2018 Patrick Wildt <patrick@blueri.se>
*
@@ -192,7 +192,7 @@ uint16_t tcpci_read_reg16(struct tcpci_softc *, uint8_t);
void tcpci_write_reg8(struct tcpci_softc *, uint8_t, uint8_t);
uint8_t tcpci_read_reg8(struct tcpci_softc *, uint8_t);
-struct cfattach tcpci_ca = {
+const struct cfattach tcpci_ca = {
sizeof(struct tcpci_softc),
tcpci_match,
tcpci_attach,