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
@ -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