projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8b5c13
)
drm/exynos: Make g2d_userptr_get_dma_addr static
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 14 Jan 2013 06:59:09 +0000
(12:29 +0530)
committer
Inki Dae
<inki.dae@samsung.com>
Fri, 25 Jan 2013 05:38:44 +0000
(14:38 +0900)
Fixes the following warning:
drivers/gpu/drm/exynos/exynos_drm_g2d.c:327:12: warning:
symbol 'g2d_userptr_get_dma_addr' was not declared. Should it be static?
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_g2d.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_g2d.c
b/drivers/gpu/drm/exynos/exynos_drm_g2d.c
index 36c3905536a65e824766ec61a385bb44a5f6c3f9..9a4c08e7453c35b2566c2c76b3bc7fa4406d7696 100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_drm_g2d.c
+++ b/
drivers/gpu/drm/exynos/exynos_drm_g2d.c
@@
-324,7
+324,7
@@
out:
g2d_userptr = NULL;
}
-dma_addr_t *g2d_userptr_get_dma_addr(struct drm_device *drm_dev,
+
static
dma_addr_t *g2d_userptr_get_dma_addr(struct drm_device *drm_dev,
unsigned long userptr,
unsigned long size,
struct drm_file *filp,