summaryrefslogtreecommitdiff
path: root/arch/parisc
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2023-12-20 16:22:55 +0300
committerHelge Deller <deller@gmx.de>2024-01-12 14:38:37 +0300
commitb362179731f0b59b8108b6afb95262ec88279759 (patch)
treef5794a28a4396532dd98b0b4f10613dd53bd42a0 /arch/parisc
parent12b8de566fa9ec428e724f955735fd1ca278ca4c (diff)
downloadlinux-b362179731f0b59b8108b6afb95262ec88279759.tar.xz
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/parisc')
0 files changed, 0 insertions, 0 deletions