summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/drm_memory.c6
-rw-r--r--linux-core/drm_memory.h12
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