diff options
author | Lespiau, Damien <damien.lespiau@intel.com> | 2013-08-19 19:53:08 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-08-20 22:47:41 -0400 |
commit | 2c9c52e85318c67cfc70f4885ad543abf0f845e6 (patch) | |
tree | 0acdf78f306c04c3c90fbaa89a30d6a73943a616 | |
parent | a03eb8388d91eb1c8dae79b790e6560134977a15 (diff) |
drm: Make drm_fb_cma_describe() static
This function is only used in drm_fb_cma_helper.c.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/drm_fb_cma_helper.c | 5 | ||||
-rw-r--r-- | include/drm/drm_fb_cma_helper.h | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_fb_cma_helper.c b/drivers/gpu/drm/drm_fb_cma_helper.c index c385cc5e730e..61b5a47ad239 100644 --- a/drivers/gpu/drm/drm_fb_cma_helper.c +++ b/drivers/gpu/drm/drm_fb_cma_helper.c | |||
@@ -181,11 +181,11 @@ struct drm_gem_cma_object *drm_fb_cma_get_gem_obj(struct drm_framebuffer *fb, | |||
181 | EXPORT_SYMBOL_GPL(drm_fb_cma_get_gem_obj); | 181 | EXPORT_SYMBOL_GPL(drm_fb_cma_get_gem_obj); |
182 | 182 | ||
183 | #ifdef CONFIG_DEBUG_FS | 183 | #ifdef CONFIG_DEBUG_FS |
184 | /** | 184 | /* |
185 | * drm_fb_cma_describe() - Helper to dump information about a single | 185 | * drm_fb_cma_describe() - Helper to dump information about a single |
186 | * CMA framebuffer object | 186 | * CMA framebuffer object |
187 | */ | 187 | */ |
188 | void drm_fb_cma_describe(struct drm_framebuffer *fb, struct seq_file *m) | 188 | static void drm_fb_cma_describe(struct drm_framebuffer *fb, struct seq_file *m) |
189 | { | 189 | { |
190 | struct drm_fb_cma *fb_cma = to_fb_cma(fb); | 190 | struct drm_fb_cma *fb_cma = to_fb_cma(fb); |
191 | int i, n = drm_format_num_planes(fb->pixel_format); | 191 | int i, n = drm_format_num_planes(fb->pixel_format); |
@@ -199,7 +199,6 @@ void drm_fb_cma_describe(struct drm_framebuffer *fb, struct seq_file *m) | |||
199 | drm_gem_cma_describe(fb_cma->obj[i], m); | 199 | drm_gem_cma_describe(fb_cma->obj[i], m); |
200 | } | 200 | } |
201 | } | 201 | } |
202 | EXPORT_SYMBOL_GPL(drm_fb_cma_describe); | ||
203 | 202 | ||
204 | /** | 203 | /** |
205 | * drm_fb_cma_debugfs_show() - Helper to list CMA framebuffer objects | 204 | * drm_fb_cma_debugfs_show() - Helper to list CMA framebuffer objects |
diff --git a/include/drm/drm_fb_cma_helper.h b/include/drm/drm_fb_cma_helper.h index 4a3fc244301c..c54cf3d4a03f 100644 --- a/include/drm/drm_fb_cma_helper.h +++ b/include/drm/drm_fb_cma_helper.h | |||
@@ -24,7 +24,6 @@ struct drm_gem_cma_object *drm_fb_cma_get_gem_obj(struct drm_framebuffer *fb, | |||
24 | unsigned int plane); | 24 | unsigned int plane); |
25 | 25 | ||
26 | #ifdef CONFIG_DEBUG_FS | 26 | #ifdef CONFIG_DEBUG_FS |
27 | void drm_fb_cma_describe(struct drm_framebuffer *fb, struct seq_file *m); | ||
28 | int drm_fb_cma_debugfs_show(struct seq_file *m, void *arg); | 27 | int drm_fb_cma_debugfs_show(struct seq_file *m, void *arg); |
29 | #endif | 28 | #endif |
30 | 29 | ||