summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2023-03-30 20:07:50 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2023-03-30 20:07:50 +0000
commitef077d7e9fbdd0945c2c85ceddd2627960482f05 (patch)
treee3805d426cad14978b7bdbce587b0184d5693df7
parenta64eb3d732278ab2164de671ccdae1c0da7d24cd (diff)
keep match strings sorted
-rw-r--r--sys/dev/fdt/dwpcie.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/fdt/dwpcie.c b/sys/dev/fdt/dwpcie.c
index 90f2c4d4c94..d8394067cd3 100644
--- a/sys/dev/fdt/dwpcie.c
+++ b/sys/dev/fdt/dwpcie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dwpcie.c,v 1.42 2023/03/30 20:03:32 kn Exp $ */
+/* $OpenBSD: dwpcie.c,v 1.43 2023/03/30 20:07:49 kn Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
@@ -291,8 +291,8 @@ dwpcie_match(struct device *parent, void *match, void *aux)
{
struct fdt_attach_args *faa = aux;
- return (OF_is_compatible(faa->fa_node, "baikal,bm1000-pcie") ||
- OF_is_compatible(faa->fa_node, "amlogic,g12a-pcie") ||
+ return (OF_is_compatible(faa->fa_node, "amlogic,g12a-pcie") ||
+ OF_is_compatible(faa->fa_node, "baikal,bm1000-pcie") ||
OF_is_compatible(faa->fa_node, "fsl,imx8mm-pcie") ||
OF_is_compatible(faa->fa_node, "fsl,imx8mq-pcie") ||
OF_is_compatible(faa->fa_node, "marvell,armada8k-pcie") ||