svn commit: r308640 - in head/sys/arm: altera/socfpga broadcom/bcm2835 freescale/imx freescale/vybrid lpc mv rockchip ti ti/am335x versatile xilinx

Jared McNeill jmcneill at invisible.ca
Mon Nov 14 22:59:50 UTC 2016


On Nov 14, 2016, at 8:03 AM, Andrew Turner <andrew at FreeBSD.org> wrote:
> 
> Modified: head/sys/arm/broadcom/bcm2835/bcm2835_fb.c
...
> 		if (sc->height == 0) {
> 			if ((OF_getprop(display, "broadcom,height", 
> 			    &cell, sizeof(cell))) > 0)
> -				sc->height = (int)fdt32_to_cpu(cell);
> +				sc->height = cell;
> 		}
> 	}

Looks like you missed an OF_getprop -> OF_getencprop here.

Cheers,
Jared


More information about the svn-src-head mailing list