ANDROID: fix frame buffer device driver modularization issues

Modularizing frame buffer device driver will enable CONFIG_FB_DEVICE,
which will change the member variable dev in the structure fb_info. This
can lead to "disagrees about version of symbol" problems.

This modification was made with the goal of enabling modular frame buffer
device driver support.

Bug: 326859623
Fixes: 701d2054fa ("fbdev: Make support for userspace interfaces configurable")
Change-Id: Ic6e35b10ba7e109cb21cdf009d02cd50469eaa91
Signed-off-by: Zhipeng Wang <zhipeng.wang_1@nxp.com>
(cherry picked from commit 42c7233dd9c12cd4b44b8fc79e31c20591a003a6)
This commit is contained in:
Zhipeng Wang
2024-02-26 18:14:30 +09:00
committed by Treehugger Robot
parent 204983e36d
commit 75405fec85
-2
View File
@@ -489,9 +489,7 @@ struct fb_info {
const struct fb_ops *fbops;
struct device *device; /* This is the parent */
#if defined(CONFIG_FB_DEVICE)
struct device *dev; /* This is this fb device */
#endif
int class_flag; /* private sysfs flags */
#ifdef CONFIG_FB_TILEBLITTING
struct fb_tile_ops *tileops; /* Tile Blitting */