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>
This commit is contained in:
parent
8f372e250a
commit
83502a5d34
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue