Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- drivers/video/stm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/video/stm.c b/drivers/video/stm.c index dd80a98..3d64238 100644 --- a/drivers/video/stm.c +++ b/drivers/video/stm.c @@ -559,6 +559,9 @@ static int stmfb_probe(struct device_d *hw_dev) dev_err(hw_dev, "failed to get bus-width property\n"); return -EINVAL; } + + of_property_read_u32(display, "bits-per-pixel", + &fbi.info.bits_per_pixel); } ret = register_framebuffer(&fbi.info); -- 2.1.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox