Author: jhb Date: Wed Sep 2 22:27:30 2020 New Revision: 365283 URL: https://svnweb.freebsd.org/changeset/base/365283
Log: Fix the variable name passed to OF_getprop(). Reported by: tinderbox Modified: head/sys/dev/iicbus/mux/ltc430x.c Modified: head/sys/dev/iicbus/mux/ltc430x.c ============================================================================== --- head/sys/dev/iicbus/mux/ltc430x.c Wed Sep 2 22:10:08 2020 (r365282) +++ head/sys/dev/iicbus/mux/ltc430x.c Wed Sep 2 22:27:30 2020 (r365283) @@ -176,7 +176,7 @@ ltc430x_attach(device_t dev) node = ofw_bus_get_node(dev); sc->idle_disconnect = OF_hasprop(node, "i2c-mux-idle-disconnect"); - if (OF_getprop(macnode, "freebsd,ctlreg2", &val, sizeof(val)) > 0) { + if (OF_getprop(node, "freebsd,ctlreg2", &val, sizeof(val)) > 0) { ctlreg2 = val; } #endif _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"