Skip to content
Commit d6678651 authored by Tony Luck's avatar Tony Luck Committed by Dave Airlie
Browse files

Fix ttm_page_alloc.c build breakage



The commit 1e8655f8
    drm/ttm: Fix build on architectures without AGP

looks at TTM_HAS_AGP before it has been set in ttm_bo_driver.h

Move the conditional inclusion of <asm/agp.h> *after* we have included
ttm_bo_driver.h

Signed-of-by: default avatarTony Luck <tony.luck@intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 15cb02c0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment