drm/ttm: Fix build on architectures without AGP
Make inclusion of <asm/agp.h> conditional on TTM_HAS_AGP. The use of the functions declared in it is already conditional. Reported-by: NGeert Stappers <stappers@stappers.nl> Signed-off-by: NBen Hutchings <ben@decadent.org.uk> Tested-by: NGeert Stappers <stappers@stappers.nl> Signed-off-by: NDave Airlie <airlied@redhat.com>
Showing
想要评论请 注册 或 登录