summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2023-10-17 11:32:01 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2023-10-19 14:55:19 +0300
commit9f662e1edecdadb770e0f1cb8ec1edbc68f62a5f (patch)
tree472c9042ab9824a99524da00bfaa0469542de0f7
parent2a5481e3d35c378bf2523b307e948756f8d3e5de (diff)
downloadlinux-9f662e1edecdadb770e0f1cb8ec1edbc68f62a5f.tar.xz
drm/ast: Rename AST_IO_DAC_INDEX_READ to AST_IO_VGADRR
Rename AST_IO_DAC_INDEX_READ to AST_IO_VGADRR 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-6-tzimmermann@suse.de
-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 dc8b4d86ca9a..ff95b8f088f8 100644
--- a/drivers/gpu/drm/ast/ast_drv.h
+++ b/drivers/gpu/drm/ast/ast_drv.h
@@ -263,7 +263,7 @@ static inline bool __ast_gen_is_eq(struct ast_device *ast, unsigned long gen)
#define AST_IO_VGAMR_W (0x42)
#define AST_IO_VGAER (0x43)
#define AST_IO_VGASRI (0x44)
-#define AST_IO_DAC_INDEX_READ (0x47)
+#define AST_IO_VGADRR (0x47)
#define AST_IO_DAC_INDEX_WRITE (0x48)
#define AST_IO_DAC_DATA (0x49)
#define AST_IO_GR_PORT (0x4E)