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:
parent
871c968b3a
commit
04b5b6a984
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308726
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user