diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-08-15 21:55:18 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-09-21 15:32:33 -0400 |
commit | fb41e54be4bad6f64d343d051d699efde3c92e2c (patch) | |
tree | d52f398bfbafe071e09a46c8637bd79c9a608753 /drivers/char/drm/drm_bufs.c | |
parent | c7aed1790254aed286b7bfb51167c2676df86f4b (diff) |
drm: cleanups
This patch contains the following cleanups:
- make 3 needlessly global functions static
- sis_mm.c: fix compile warnings with CONFIG_FB_SIS=y
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_bufs.c')
-rw-r--r-- | drivers/char/drm/drm_bufs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/drm/drm_bufs.c b/drivers/char/drm/drm_bufs.c index 71d2e0917636..03c6db9029cf 100644 --- a/drivers/char/drm/drm_bufs.c +++ b/drivers/char/drm/drm_bufs.c | |||
@@ -65,8 +65,8 @@ static drm_map_list_t *drm_find_matching_map(drm_device_t *dev, | |||
65 | return NULL; | 65 | return NULL; |
66 | } | 66 | } |
67 | 67 | ||
68 | int drm_map_handle(drm_device_t *dev, drm_hash_item_t *hash, | 68 | static int drm_map_handle(drm_device_t *dev, drm_hash_item_t *hash, |
69 | unsigned long user_token, int hashed_handle) | 69 | unsigned long user_token, int hashed_handle) |
70 | { | 70 | { |
71 | int use_hashed_handle; | 71 | int use_hashed_handle; |
72 | #if (BITS_PER_LONG == 64) | 72 | #if (BITS_PER_LONG == 64) |