video: Provide constants for VGA I/O range
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 18 Jul 2022 07:23:19 +0000 (09:23 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 19 Jul 2022 11:19:11 +0000 (13:19 +0200)
commit4652905f4e30ab7b4827faa38343fdafa90f2956
tree613139eaef611c07ee8841ffe4e083fa181badd3
parent5e01376124309b4dbd30d413f43c0d9c2f60edea
video: Provide constants for VGA I/O range

Provide VGA_FB_ constants for the VGA framebuffer I/O range and convert
fbdev code. In the case of vga16fb, this is a rename of the existing
constants VGA_FB_PHYS and VGA_FB_PHYS_LEN.

v2:
* clarify relationship with old constants in vga16fb (Javier)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220718072322.8927-9-tzimmermann@suse.de
drivers/video/fbdev/core/fbmem.c
drivers/video/fbdev/vga16fb.c
include/video/vga.h