video: stm: reserve framebuffer memory for Linux
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
2f5f0d6aa1
commit
491dc73fe4
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue