clean up more of inline functions agp_remap/drm_lookup_map

This commit is contained in:
Dave Airlie 2007-03-19 08:09:21 +11:00
parent 27197d7836
commit 6c4428d40c
2 changed files with 6 additions and 12 deletions

View file

@ -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 */

View file

@ -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