From 5134329187c962332bbe4c31d1c62982949552cf Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Thu, 27 May 2021 14:44:53 +0200 Subject: video: reunite fb devices with their hardware parent So far, only sdlfb and efi associated the framebuffer device they register with the hardware device providing it. Follow suit for all other frame buffers. This enables devinfo to display parentage. Signed-off-by: Ahmad Fatoum Link: https://lore.barebox.org/20210527124453.22710-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer --- drivers/video/bochs/bochs_hw.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/video/bochs') diff --git a/drivers/video/bochs/bochs_hw.c b/drivers/video/bochs/bochs_hw.c index 252350aebb..debdd36941 100644 --- a/drivers/video/bochs/bochs_hw.c +++ b/drivers/video/bochs/bochs_hw.c @@ -201,5 +201,6 @@ int bochs_hw_probe(struct device_d *dev, void __iomem *fb_map, void __iomem *mmi fb->priv = bochs; fb->fbops = &bochs_fb_ops; + fb->dev.parent = dev; return register_framebuffer(fb); } -- cgit v1.2.3