[PATCH 9/9] video: stm: reserve framebuffer memory for Linux

Sascha Hauer s.hauer at pengutronix.de
Mon Jul 6 03:36:14 PDT 2015


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/video/stm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/video/stm.c b/drivers/video/stm.c
index f0f5ce0..1b42a18 100644
--- a/drivers/video/stm.c
+++ b/drivers/video/stm.c
@@ -566,6 +566,8 @@ static int stmfb_probe(struct device_d *hw_dev)
 				&fbi.info.bits_per_pixel);
 	}
 
+	fb_of_reserve_add_fixup(&fbi.info);
+
 	ret = register_framebuffer(&fbi.info);
 	if (ret != 0) {
 		dev_err(hw_dev, "Failed to register framebuffer\n");
-- 
2.1.4




More information about the barebox mailing list