Commit c84162d1 authored by Y.C. Chen's avatar Y.C. Chen Committed by Greg Kroah-Hartman

drm/ast: AST2000 cannot be detected correctly

commit 83502a5d upstream.

Type error and cause AST2000 cannot be detected correctly
Signed-off-by: default avatarY.C. Chen <yc_chen@aspeedtech.com>
Reviewed-by: default avatarEgbert Eich <eich@suse.de>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6064a729
...@@ -105,7 +105,7 @@ static int ast_detect_chip(struct drm_device *dev) ...@@ -105,7 +105,7 @@ static int ast_detect_chip(struct drm_device *dev)
} }
ast->vga2_clone = false; ast->vga2_clone = false;
} else { } else {
ast->chip = 2000; ast->chip = AST2000;
DRM_INFO("AST 2000 detected\n"); DRM_INFO("AST 2000 detected\n");
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment