From a2e3bae8e23398b1db25ea79cf1086a1fa735946 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 19 Mar 2007 08:46:25 +1100 Subject: oops missing else --- linux-core/drm_memory.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3