summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorY.C. Chen <yc_chen@aspeedtech.com>2014-09-10 12:07:54 +0800
committerJiri Slaby <jslaby@suse.cz>2014-10-13 14:25:36 +0200
commiteab07705c238b10ba23a22b53e4e8291c971447f (patch)
tree6e801d0bc7fef81e5b2dfd73f1ed759b3dd4c7b9 /drivers/gpu
parentc61d245219f5d719a5b8099f42c0ca95c55f48e6 (diff)
downloadlwn-eab07705c238b10ba23a22b53e4e8291c971447f.tar.gz
lwn-eab07705c238b10ba23a22b53e4e8291c971447f.zip
drm/ast: AST2000 cannot be detected correctly
commit 83502a5d34386f7c6973bc70e1c423f55f5a2e3a upstream. 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> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers/gpu')
-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 7f6152d374ca..d57a38d1ca69 100644
--- a/drivers/gpu/drm/ast/ast_main.c
+++ b/drivers/gpu/drm/ast/ast_main.c
@@ -100,7 +100,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");
}
}