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; } _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"