aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ast/ast_main.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2023-10-17 10:31:58 +0200
committerThomas Zimmermann <[email protected]>2023-10-19 13:55:09 +0200
commitb3945edd707289191d483c930ab7961c1bd0dc0e (patch)
treefeec49a146e85732851bdb11e7d01236ced2dc26 /drivers/gpu/drm/ast/ast_main.c
parent53f410d3698fc96eb657b80e1758ba9b71d96628 (diff)
drm/ast: Rename AST_IO_MISC_PORT_WRITE to AST_IO_VGAMR_W
Rename AST_IO_MISC_PORT_WRITE to AST_IO_VGAMR_W to align naming in the driver with documentation. No functional changes. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Jocelyn Falempe <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/ast/ast_main.c')
-rw-r--r--drivers/gpu/drm/ast/ast_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ast/ast_main.c b/drivers/gpu/drm/ast/ast_main.c
index dae365ed3969..f8a682c4cbd0 100644
--- a/drivers/gpu/drm/ast/ast_main.c
+++ b/drivers/gpu/drm/ast/ast_main.c
@@ -50,7 +50,7 @@ static void ast_enable_vga(struct drm_device *dev)
struct ast_device *ast = to_ast_device(dev);
ast_io_write8(ast, AST_IO_VGA_ENABLE_PORT, 0x01);
- ast_io_write8(ast, AST_IO_MISC_PORT_WRITE, 0x01);
+ ast_io_write8(ast, AST_IO_VGAMR_W, 0x01);
}
/*