summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_mtd_pci.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-08-29 06:08:05 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-08-29 06:08:05 +0000
commitb15bc76c62161409e04fcb986d174856b3662ef3 (patch)
treecef186f363ef857a11efa29c5adf925a1cce7b2d /sys/dev/pci/if_mtd_pci.c
parent001bb62ccba9e90f7c2ec4eacb978131906dc341 (diff)
static const, not const static
c99 6.11.5: "The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature." ok miod@ tb@
Diffstat (limited to 'sys/dev/pci/if_mtd_pci.c')
-rw-r--r--sys/dev/pci/if_mtd_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_mtd_pci.c b/sys/dev/pci/if_mtd_pci.c
index fcda4c40e71..2a2242e52df 100644
--- a/sys/dev/pci/if_mtd_pci.c
+++ b/sys/dev/pci/if_mtd_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mtd_pci.c,v 1.12 2022/03/11 18:00:48 mpi Exp $ */
+/* $OpenBSD: if_mtd_pci.c,v 1.13 2022/08/29 06:08:04 jsg Exp $ */
/*
* Copyright (c) 2003 Oleg Safiullin <form@pdp11.org.ru>
@@ -58,7 +58,7 @@ const struct cfattach mtd_pci_ca = {
sizeof(struct mtd_softc), mtd_pci_match, mtd_pci_attach
};
-const static struct pci_matchid mtd_pci_devices[] = {
+static const struct pci_matchid mtd_pci_devices[] = {
{ PCI_VENDOR_MYSON, PCI_PRODUCT_MYSON_MTD800 },
{ PCI_VENDOR_MYSON, PCI_PRODUCT_MYSON_MTD803 },
{ PCI_VENDOR_MYSON, PCI_PRODUCT_MYSON_MTD891 },