summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ast/ast_drv.h
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2023-10-17 11:32:07 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2023-10-19 14:55:40 +0300
commit8811bcbf28cc270aba8d0067bdb8f44c5cc5fad7 (patch)
treeeed2a0d1840f7f9b3995151086930ef18aef0fb8 /drivers/gpu/drm/ast/ast_drv.h
parent224bf236ca6d6d49e559565c5eba65f7acc6bbd9 (diff)
downloadlinux-8811bcbf28cc270aba8d0067bdb8f44c5cc5fad7.tar.xz
drm/ast: Rename AST_IO_MISC_PORT_READ to AST_IO_VGAMR_R
Rename AST_IO_MISC_PORT_READ to AST_IO_VGAMR_R to align naming in the driver with documentation. No functional changes. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231017083653.10063-12-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/ast/ast_drv.h')
-rw-r--r--drivers/gpu/drm/ast/ast_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ast/ast_drv.h b/drivers/gpu/drm/ast/ast_drv.h
index 03f1edf95e73..214bfac0798a 100644
--- a/drivers/gpu/drm/ast/ast_drv.h
+++ b/drivers/gpu/drm/ast/ast_drv.h
@@ -269,7 +269,7 @@ static inline bool __ast_gen_is_eq(struct ast_device *ast, unsigned long gen)
#define AST_IO_VGAGRI (0x4E)
#define AST_IO_VGACRI (0x54)
#define AST_IO_VGAIR1_R (0x5A)
-#define AST_IO_MISC_PORT_READ (0x4C)
+#define AST_IO_VGAMR_R (0x4C)
#define AST_IO_MM_OFFSET (0x380)