diff options
author | Dave Airlie <airlied@linux.ie> | 2007-03-19 08:46:25 +1100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-03-19 08:46:25 +1100 |
commit | a2e3bae8e23398b1db25ea79cf1086a1fa735946 (patch) | |
tree | 3c6b5bb5e45fab14cfd165406d67a284f030db03 | |
parent | bbb6fc9307c42891120faeaca5c57cf7884866ad (diff) |
oops missing else
-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) |