diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-04-10 23:18:27 -0700 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-04-18 21:03:51 +1000 |
commit | 031de96af0e7ed6ad4a7ec2b74a77bf9782f966e (patch) | |
tree | c59cd37933c250b405ffe01b8decb274bc50d25a /drivers/char/drm/drm_memory_debug.h | |
parent | 31f64bd101ea256f9fc4a7f1f1706d6417d5550a (diff) | |
download | blackbird-op-linux-031de96af0e7ed6ad4a7ec2b74a77bf9782f966e.tar.gz blackbird-op-linux-031de96af0e7ed6ad4a7ec2b74a77bf9782f966e.zip |
drivers/char/drm/drm_memory.c: possible cleanups
- #if 0 the following unused global function:
- drm_ioremap_nocache()
- make the following needlessly global functions static:
- agp_remap()
- drm_lookup_map()
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Dave Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Diffstat (limited to 'drivers/char/drm/drm_memory_debug.h')
-rw-r--r-- | drivers/char/drm/drm_memory_debug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/drm/drm_memory_debug.h b/drivers/char/drm/drm_memory_debug.h index 7868341817da..6543b9a14c42 100644 --- a/drivers/char/drm/drm_memory_debug.h +++ b/drivers/char/drm/drm_memory_debug.h @@ -229,6 +229,7 @@ void *drm_ioremap (unsigned long offset, unsigned long size, return pt; } +#if 0 void *drm_ioremap_nocache (unsigned long offset, unsigned long size, drm_device_t * dev) { void *pt; @@ -251,6 +252,7 @@ void *drm_ioremap_nocache (unsigned long offset, unsigned long size, spin_unlock(&drm_mem_lock); return pt; } +#endif /* 0 */ void drm_ioremapfree (void *pt, unsigned long size, drm_device_t * dev) { int alloc_count; |