diff options
author | Y.C. Chen <yc_chen@aspeedtech.com> | 2014-09-10 12:07:54 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-05 14:52:12 -0700 |
commit | 6b6ef1edd5706652319d9ac9de1de3d49f9b945d (patch) | |
tree | 7d940e477a0c9d0fed1482db6243c2ee17a4381f /drivers/gpu/drm | |
parent | b99993be7556ee35befebb96914bec70a44f8599 (diff) | |
download | lwn-6b6ef1edd5706652319d9ac9de1de3d49f9b945d.tar.gz lwn-6b6ef1edd5706652319d9ac9de1de3d49f9b945d.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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/ast/ast_main.c | 2 |
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 50535fd5a88d..d830b38e54f6 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"); } } |