aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorY.C. Chen <yc_chen@aspeedtech.com>2014-09-10 00:07:54 -0400
committerDave Airlie <airlied@redhat.com>2014-09-11 23:41:39 -0400
commit83502a5d34386f7c6973bc70e1c423f55f5a2e3a (patch)
tree53693863dece7f5a974e971a1a4130bc5b5f5108
parent8f372e250ae5f4a5faf87ca1a629d0ae59db65b6 (diff)
drm/ast: AST2000 cannot be detected correctly
Type error and cause AST2000 cannot be detected correctly Signed-off-by: Y.C. Chen <yc_chen@aspeedtech.com> Reviewed-by: Egbert Eich <eich@suse.de> Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
-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 b027e332caa5..b792194e0d9c 100644
--- a/drivers/gpu/drm/ast/ast_main.c
+++ b/drivers/gpu/drm/ast/ast_main.c
@@ -105,7 +105,7 @@ static int ast_detect_chip(struct drm_device *dev)
105 } 105 }
106 ast->vga2_clone = false; 106 ast->vga2_clone = false;
107 } else { 107 } else {
108 ast->chip = 2000; 108 ast->chip = AST2000;
109 DRM_INFO("AST 2000 detected\n"); 109 DRM_INFO("AST 2000 detected\n");
110 } 110 }
111 } 111 }