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

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;
}