summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2020-11-29 03:17:28 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2020-11-29 03:17:28 +0000
commitd88f07032d0cb6a9fad149f8b2d6e524c725e5e2 (patch)
tree21d3c5d5f9ab67fd07df27fc2fef9b49167625c2 /sys/dev
parent6738e0b6eda425183323ce7dfb75ec554648e605 (diff)
Un-const pci_attach_args var.
"yes guess so" deraadt@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/berkwdt.c4
-rw-r--r--sys/dev/pci/mbg.c4
-rw-r--r--sys/dev/pci/pwdog.c4
-rw-r--r--sys/dev/pci/wdt.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/pci/berkwdt.c b/sys/dev/pci/berkwdt.c
index 0e6c3c582b5..6a7fc822e21 100644
--- a/sys/dev/pci/berkwdt.c
+++ b/sys/dev/pci/berkwdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: berkwdt.c,v 1.9 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: berkwdt.c,v 1.10 2020/11/29 03:17:27 kevlo Exp $ */
/*
* Copyright (c) 2009 Wim Van Sebroeck <wim@iguana.be>
@@ -179,7 +179,7 @@ void
berkwdt_attach(struct device *parent, struct device *self, void *aux)
{
struct berkwdt_softc *sc = (struct berkwdt_softc *)self;
- struct pci_attach_args *const pa = (struct pci_attach_args *)aux;
+ struct pci_attach_args *pa = (struct pci_attach_args *)aux;
bus_size_t iosize;
u_int8_t reg;
diff --git a/sys/dev/pci/mbg.c b/sys/dev/pci/mbg.c
index 4d9c8dace48..248e17154b3 100644
--- a/sys/dev/pci/mbg.c
+++ b/sys/dev/pci/mbg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbg.c,v 1.30 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: mbg.c,v 1.31 2020/11/29 03:17:27 kevlo Exp $ */
/*
* Copyright (c) 2006, 2007 Marc Balmer <mbalmer@openbsd.org>
@@ -174,7 +174,7 @@ void
mbg_attach(struct device *parent, struct device *self, void *aux)
{
struct mbg_softc *sc = (struct mbg_softc *)self;
- struct pci_attach_args *const pa = (struct pci_attach_args *)aux;
+ struct pci_attach_args *pa = (struct pci_attach_args *)aux;
struct mbg_time tframe;
pcireg_t memtype;
bus_size_t iosize, iosize2;
diff --git a/sys/dev/pci/pwdog.c b/sys/dev/pci/pwdog.c
index 444810e122d..6c8e990d120 100644
--- a/sys/dev/pci/pwdog.c
+++ b/sys/dev/pci/pwdog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pwdog.c,v 1.10 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: pwdog.c,v 1.11 2020/11/29 03:17:27 kevlo Exp $ */
/*
* Copyright (c) 2006 Marc Balmer <mbalmer@openbsd.org>
@@ -66,7 +66,7 @@ void
pwdog_attach(struct device *parent, struct device *self, void *aux)
{
struct pwdog_softc *pwdog = (struct pwdog_softc *)self;
- struct pci_attach_args *const pa = (struct pci_attach_args *)aux;
+ struct pci_attach_args *pa = (struct pci_attach_args *)aux;
pcireg_t memtype;
bus_size_t iosize;
diff --git a/sys/dev/pci/wdt.c b/sys/dev/pci/wdt.c
index b913a08f701..180dc64c003 100644
--- a/sys/dev/pci/wdt.c
+++ b/sys/dev/pci/wdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdt.c,v 1.24 2020/01/05 01:07:59 jsg Exp $ */
+/* $OpenBSD: wdt.c,v 1.25 2020/11/29 03:17:27 kevlo Exp $ */
/*-
* Copyright (c) 1998,1999 Alex Nash
@@ -110,7 +110,7 @@ void
wdt_attach(struct device *parent, struct device *self, void *aux)
{
struct wdt_softc *wdt = (struct wdt_softc *)self;
- struct pci_attach_args *const pa = (struct pci_attach_args *)aux;
+ struct pci_attach_args *pa = (struct pci_attach_args *)aux;
bus_size_t iosize;
/* retrieve the I/O region (BAR2) */