projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dc9967
)
drm/gma500: make function static to eliminate compiling warning
author
Jiang Biao
<jiang.biao2@zte.com.cn>
Tue, 1 Nov 2016 03:49:45 +0000
(11:49 +0800)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 8 Nov 2016 09:44:35 +0000
(10:44 +0100)
psb_gtt_remove is only used in this file, and make it static to
eliminate missing-prototypes compiling warning.
Signed-off-by: Jiang Biao <jiang.biao2@zte.com.cn>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link:
http://patchwork.freedesktop.org/patch/msgid/1477972185-24826-1-git-send-email-jiang.biao2@zte.com.cn
drivers/gpu/drm/gma500/gtt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/gma500/gtt.c
b/drivers/gpu/drm/gma500/gtt.c
index 76aea2e7fb9da5b2d7ce761fb783fed7180c78f5..3f4f424196b2f6a0e230ac95f078a312472e47af 100644
(file)
--- a/
drivers/gpu/drm/gma500/gtt.c
+++ b/
drivers/gpu/drm/gma500/gtt.c
@@
-131,7
+131,7
@@
static int psb_gtt_insert(struct drm_device *dev, struct gtt_range *r,
* page table entries with the dummy page. This is protected via the gtt
* mutex which the caller must hold.
*/
-void psb_gtt_remove(struct drm_device *dev, struct gtt_range *r)
+
static
void psb_gtt_remove(struct drm_device *dev, struct gtt_range *r)
{
struct drm_psb_private *dev_priv = dev->dev_private;
u32 __iomem *gtt_slot;