Skip to content
Commit bab0a828 authored by Thomas Zimmermann's avatar Thomas Zimmermann Committed by Greg Kroah-Hartman
Browse files

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



[ Upstream commit 3218286b ]

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

Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231206135153.2599-4-tzimmermann@suse.de


Stable-dep-of: c2bc958b ("fbdev: vesafb: Detect VGA compatibility from screen info's VESA attributes")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ccab04dc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment