summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-03-19 08:09:21 +1100
committerDave Airlie <airlied@linux.ie>2007-03-19 08:09:21 +1100
commit6c4428d40c7531a28aa405e3db407461d20a0110 (patch)
tree15851db6f2fb02859696406f8d1ca3baed39bc7b /linux-core
parent27197d7836b913976f6b75005d1c0c926774825a (diff)
clean up more of inline functions agp_remap/drm_lookup_map
Diffstat (limited to 'linux-core')
-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