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_sman.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_sman.c')
-rw-r--r-- | drivers/char/drm/drm_sman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_sman.c b/drivers/char/drm/drm_sman.c index b92f0ee74b39..425c82336ee0 100644 --- a/drivers/char/drm/drm_sman.c +++ b/drivers/char/drm/drm_sman.c | |||
@@ -114,7 +114,7 @@ static void drm_sman_mm_destroy(void *private) | |||
114 | drm_free(mm, sizeof(*mm), DRM_MEM_MM); | 114 | drm_free(mm, sizeof(*mm), DRM_MEM_MM); |
115 | } | 115 | } |
116 | 116 | ||
117 | unsigned long drm_sman_mm_offset(void *private, void *ref) | 117 | static unsigned long drm_sman_mm_offset(void *private, void *ref) |
118 | { | 118 | { |
119 | drm_mm_node_t *node = (drm_mm_node_t *) ref; | 119 | drm_mm_node_t *node = (drm_mm_node_t *) ref; |
120 | return node->start; | 120 | return node->start; |