From 6c4428d40c7531a28aa405e3db407461d20a0110 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 19 Mar 2007 08:09:21 +1100 Subject: clean up more of inline functions agp_remap/drm_lookup_map --- linux-core/drm_memory.c | 6 ++++++ linux-core/drm_memory.h | 12 ------------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/linux-core/drm_memory.c b/linux-core/drm_memory.c index 72e0f10e..f156feab 100644 --- a/linux-core/drm_memory.c +++ b/linux-core/drm_memory.c @@ -286,6 +286,12 @@ int drm_unbind_agp(DRM_AGP_MEM * handle) { return drm_agp_unbind_memory(handle); } + +static void *agp_remap(unsigned long offset, unsigned long size, + drm_device_t * dev) +{ + return NULL; +} #endif /* agp */ #endif /* debug_memory */ diff --git a/linux-core/drm_memory.h b/linux-core/drm_memory.h index 03cb4d1d..5590c491 100644 --- a/linux-core/drm_memory.h +++ b/linux-core/drm_memory.h @@ -59,16 +59,4 @@ #else /* __OS_HAS_AGP */ -static inline drm_map_t *drm_lookup_map(unsigned long offset, - unsigned long size, drm_device_t * dev) -{ - return NULL; -} - -static inline void *agp_remap(unsigned long offset, unsigned long size, - drm_device_t * dev) -{ - return NULL; -} - #endif -- cgit v1.2.3