diff options
author | 2017-08-17 11:26:04 +0000 | |
---|---|---|
committer | 2017-08-17 11:26:04 +0000 | |
commit | dad6f3f03a010d081dcf86e545c558790daecac0 (patch) | |
tree | 68c9e20826e2f3e7b9608e618fde6e603f860229 | |
parent | Skip SPD lookups for short packets on IPsec-enabled bridge (diff) | |
download | wireguard-openbsd-dad6f3f03a010d081dcf86e545c558790daecac0.tar.xz wireguard-openbsd-dad6f3f03a010d081dcf86e545c558790daecac0.zip |
Fix logical or. Spotted by Artturi Alm.
-rw-r--r-- | sys/dev/fdt/dwmmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdt/dwmmc.c b/sys/dev/fdt/dwmmc.c index e24e6dd1685..2a90d30f781 100644 --- a/sys/dev/fdt/dwmmc.c +++ b/sys/dev/fdt/dwmmc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwmmc.c,v 1.6 2017/08/04 08:18:31 kettenis Exp $ */ +/* $OpenBSD: dwmmc.c,v 1.7 2017/08/17 11:26:04 kettenis Exp $ */ /* * Copyright (c) 2017 Mark Kettenis * @@ -189,7 +189,7 @@ dwmmc_match(struct device *parent, void *match, void *aux) { struct fdt_attach_args *faa = aux; - return (OF_is_compatible(faa->fa_node, "rockchip,rk3288-dw-mshc") | + return (OF_is_compatible(faa->fa_node, "rockchip,rk3288-dw-mshc") || OF_is_compatible(faa->fa_node, "samsung,exynos5420-dw-mshc")); } |