summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ast/ast_drv.h
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2023-10-17 10:32:02 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2023-10-19 13:55:22 +0200
commit7b0be4b94b693bc2d32a6f27d534995735bd8c95 (patch)
tree8f0a144143740b8c8a39e72c0e4930ef3a88c1c4 /drivers/gpu/drm/ast/ast_drv.h
parentdrm/ast: Rename AST_IO_DAC_INDEX_READ to AST_IO_VGADRR (diff)
downloadlinux-7b0be4b94b693bc2d32a6f27d534995735bd8c95.tar.xz
linux-7b0be4b94b693bc2d32a6f27d534995735bd8c95.zip
drm/ast: Rename AST_IO_DAC_INDEX_WRITE to AST_IO_VGADWR
Rename AST_IO_DAC_INDEX_WRITE to AST_IO_VGADWR 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-7-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 ff95b8f088f8..2b46fafd3467 100644
--- a/drivers/gpu/drm/ast/ast_drv.h
+++ b/drivers/gpu/drm/ast/ast_drv.h
@@ -264,7 +264,7 @@ static inline bool __ast_gen_is_eq(struct ast_device *ast, unsigned long gen)
#define AST_IO_VGAER (0x43)
#define AST_IO_VGASRI (0x44)
#define AST_IO_VGADRR (0x47)
-#define AST_IO_DAC_INDEX_WRITE (0x48)
+#define AST_IO_VGADWR (0x48)
#define AST_IO_DAC_DATA (0x49)
#define AST_IO_GR_PORT (0x4E)
#define AST_IO_CRTC_PORT (0x54)