summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ast
diff options
context:
space:
mode:
authorY.C. Chen <yc_chen@aspeedtech.com>2014-09-10 08:07:54 +0400
committerDave Airlie <airlied@redhat.com>2014-09-12 07:41:39 +0400
commit83502a5d34386f7c6973bc70e1c423f55f5a2e3a (patch)
tree53693863dece7f5a974e971a1a4130bc5b5f5108 /drivers/gpu/drm/ast
parent8f372e250ae5f4a5faf87ca1a629d0ae59db65b6 (diff)
downloadlinux-83502a5d34386f7c6973bc70e1c423f55f5a2e3a.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/ast')
-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)
}
ast->vga2_clone = false;
} else {
- ast->chip = 2000;
+ ast->chip = AST2000;
DRM_INFO("AST 2000 detected\n");
}
}