Skip to content
Snippets Groups Projects
Commit 8505e708 authored by Thomas Zimmermann's avatar Thomas Zimmermann
Browse files

fbdev/efifb: Replace references to global screen_info by local pointer


Get the global screen_info's address once and access the data via
this pointer. Limits the use of global state.

v3:
	* use const screen_info in several places (Sui)
	* fix build for deferred takeover (kernel test robot)

Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Tested-by: Sui Jingfeng's avatarSui Jingfeng <sui.jingfeng@linux.dev>
Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231206135153.2599-2-tzimmermann@suse.de
parent 2f4494b3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment