diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-12-20 14:22:55 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-01-12 12:38:37 +0100 |
commit | b362179731f0b59b8108b6afb95262ec88279759 (patch) | |
tree | f5794a28a4396532dd98b0b4f10613dd53bd42a0 /arch/x86/Kconfig.cpu | |
parent | 12b8de566fa9ec428e724f955735fd1ca278ca4c (diff) |
fbdev/stifb: Allocate fb_info instance with framebuffer_alloc()
Allocate stifb's instance of fb_info with framebuffer_alloc(). This
is the preferred way of creating fb_info with associated driver data
stored in struct fb_info.par. Requires several, but minor, changes
through out the driver's code.
The intended side effect of this patch is that the new instance of
struct fb_info now has its device field correctly set to the parent
device of the STI ROM. A later patch can detect if the device is the
firmware's primary output. It is also now correctly located within
the Linux device hierarchy.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Tested-by: Helge Deller <deller@gmx.de>
Reviewed-by: Helge Deller <deller@gmx.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/x86/Kconfig.cpu')
0 files changed, 0 insertions, 0 deletions