1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-10 14:02:43 +00:00

Use the correct OF_getencprop to get the height.

Reported by:	jmcneill
Sponsored by:	ABT Systems Ltd
This commit is contained in:
Andrew Turner 2016-11-16 11:31:53 +00:00
parent 871c968b3a
commit 04b5b6a984
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308726

View File

@ -479,7 +479,7 @@ bcmfb_configure(int flags)
}
if (sc->height == 0) {
if ((OF_getprop(display, "broadcom,height",
if ((OF_getencprop(display, "broadcom,height",
&cell, sizeof(cell))) > 0)
sc->height = cell;
}