diff options
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/drm_memory.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/drm_memory.c b/linux-core/drm_memory.c index f156feab..a1aaa8f5 100644 --- a/linux-core/drm_memory.c +++ b/linux-core/drm_memory.c @@ -287,12 +287,14 @@ int drm_unbind_agp(DRM_AGP_MEM * handle) return drm_agp_unbind_memory(handle); } +#else /* __OS_HAS_AGP*/ static void *agp_remap(unsigned long offset, unsigned long size, drm_device_t * dev) { return NULL; } #endif /* agp */ + #endif /* debug_memory */ void drm_core_ioremap(struct drm_map *map, struct drm_device *dev) |