video/sticore: Store ROM device in STI struct
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 20 Dec 2023 13:22:54 +0000 (14:22 +0100)
committerHelge Deller <deller@gmx.de>
Fri, 12 Jan 2024 11:38:37 +0000 (12:38 +0100)
commit12b8de566fa9ec428e724f955735fd1ca278ca4c
treeecac6b931d047e2da62de80889da11a7efc9a4e4
parent33cd6ea9c0673517cdb06ad5c915c6f22e9615fc
video/sticore: Store ROM device in STI struct

Store the ROM's parent device in each STI struct, so we can associate
the STI framebuffer with a device.

The new field will eventually replace the fbdev subsystem's info field,
which the function fb_is_primary_device() currently requires to detect
the firmware's output. By using the device instead of the framebuffer
info, a later patch can generalize the helper for use in non-fbdev code.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/sticore.c
include/video/sticore.h