From: kettenis Date: Tue, 20 Apr 2021 19:33:03 +0000 (+0000) Subject: Match on "amlogic,meson-sm1-mmc" compatible. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a55f82243abaac629e0b9e28d5a4a873e11535b1;p=openbsd Match on "amlogic,meson-sm1-mmc" compatible. --- diff --git a/sys/dev/fdt/amlmmc.c b/sys/dev/fdt/amlmmc.c index d00699c13ae..bc657e4844e 100644 --- a/sys/dev/fdt/amlmmc.c +++ b/sys/dev/fdt/amlmmc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: amlmmc.c,v 1.9 2020/08/24 15:15:08 kettenis Exp $ */ +/* $OpenBSD: amlmmc.c,v 1.10 2021/04/20 19:33:03 kettenis Exp $ */ /* * Copyright (c) 2019 Mark Kettenis * @@ -199,7 +199,8 @@ amlmmc_match(struct device *parent, void *match, void *aux) { struct fdt_attach_args *faa = aux; - return OF_is_compatible(faa->fa_node, "amlogic,meson-axg-mmc"); + return (OF_is_compatible(faa->fa_node, "amlogic,meson-axg-mmc") || + OF_is_compatible(faa->fa_node, "amlogic,meson-sm1-mmc")); } void