Use the correct OF_getencprop to get the height.
Reported by: jmcneill Sponsored by: ABT Systems Ltd
This commit is contained in:
parent
d17e215710
commit
9a11043c4a
@ -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…
x
Reference in New Issue
Block a user