diff options
Diffstat (limited to 'linux/drm_memory.h')
-rw-r--r-- | linux/drm_memory.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/drm_memory.h b/linux/drm_memory.h index caf05394..1763d9b4 100644 --- a/linux/drm_memory.h +++ b/linux/drm_memory.h @@ -351,8 +351,7 @@ void DRM(ioremapfree)(void *pt, unsigned long size) } } -#if defined(CONFIG_AGP) || defined(CONFIG_AGP_MODULE) -#if __MUST_HAVE_AGP +#if __REALLY_HAVE_AGP agp_memory *DRM(alloc_agp)(int pages, u32 type) { @@ -457,4 +456,3 @@ int DRM(unbind_agp)(agp_memory *handle) return retcode; } #endif -#endif /* defined(CONFIG_AGP) || defined(CONFIG_AGP_MODULE) */ |