Date: Sun, 13 Nov 2016 09:33:41 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r308610 - head/sys/mips/mediatek Message-ID: <201611130933.uAD9Xfuo017787@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Sun Nov 13 09:33:41 2016 New Revision: 308610 URL: https://svnweb.freebsd.org/changeset/base/308610 Log: Use the new ofw_bus_node_is_compatible function in the mips code. Sponsored by: ABT Systems Ltd Modified: head/sys/mips/mediatek/mtk_soc.c Modified: head/sys/mips/mediatek/mtk_soc.c ============================================================================== --- head/sys/mips/mediatek/mtk_soc.c Sun Nov 13 08:42:02 2016 (r308609) +++ head/sys/mips/mediatek/mtk_soc.c Sun Nov 13 09:33:41 2016 (r308610) @@ -248,7 +248,7 @@ mtk_soc_try_early_detect(void) return; for (i = 0; compat_data[i].ocd_str != NULL; i++) { - if (fdt_is_compatible(node, compat_data[i].ocd_str)) { + if (ofw_bus_node_is_compatible(node, compat_data[i].ocd_str)) { mtk_soc_socid = compat_data[i].ocd_data; break; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611130933.uAD9Xfuo017787>