* [PATCH 1/3] drm/exynos: Make g2d_userptr_get_dma_addr static
@ 2013-01-14 6:59 Sachin Kamat
2013-01-14 6:59 ` [PATCH 2/3] drm/exynos: Make ipp_handle_cmd_work static Sachin Kamat
2013-01-14 6:59 ` [PATCH 3/3] drm/exynos: Add missing static specifiers in exynos_drm_rotator.c Sachin Kamat
0 siblings, 2 replies; 3+ messages in thread
From: Sachin Kamat @ 2013-01-14 6:59 UTC (permalink / raw)
To: dri-devel; +Cc: sachin.kamat, patches
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>
---
drivers/gpu/drm/exynos/exynos_drm_g2d.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos/exynos_drm_g2d.c
index 36c3905..9a4c08e 100644
--- 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,
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/3] drm/exynos: Make ipp_handle_cmd_work static
2013-01-14 6:59 [PATCH 1/3] drm/exynos: Make g2d_userptr_get_dma_addr static Sachin Kamat
@ 2013-01-14 6:59 ` Sachin Kamat
2013-01-14 6:59 ` [PATCH 3/3] drm/exynos: Add missing static specifiers in exynos_drm_rotator.c Sachin Kamat
1 sibling, 0 replies; 3+ messages in thread
From: Sachin Kamat @ 2013-01-14 6:59 UTC (permalink / raw)
To: dri-devel; +Cc: sachin.kamat, patches
Fixes the following warning:
drivers/gpu/drm/exynos/exynos_drm_ipp.c:872:6: warning:
symbol 'ipp_handle_cmd_work' was not declared. Should it be static?
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
drivers/gpu/drm/exynos/exynos_drm_ipp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_ipp.c b/drivers/gpu/drm/exynos/exynos_drm_ipp.c
index 0bda964..1a55635 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_ipp.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_ipp.c
@@ -869,7 +869,7 @@ static void ipp_put_event(struct drm_exynos_ipp_cmd_node *c_node,
}
}
-void ipp_handle_cmd_work(struct device *dev,
+static void ipp_handle_cmd_work(struct device *dev,
struct exynos_drm_ippdrv *ippdrv,
struct drm_exynos_ipp_cmd_work *cmd_work,
struct drm_exynos_ipp_cmd_node *c_node)
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 3/3] drm/exynos: Add missing static specifiers in exynos_drm_rotator.c
2013-01-14 6:59 [PATCH 1/3] drm/exynos: Make g2d_userptr_get_dma_addr static Sachin Kamat
2013-01-14 6:59 ` [PATCH 2/3] drm/exynos: Make ipp_handle_cmd_work static Sachin Kamat
@ 2013-01-14 6:59 ` Sachin Kamat
1 sibling, 0 replies; 3+ messages in thread
From: Sachin Kamat @ 2013-01-14 6:59 UTC (permalink / raw)
To: dri-devel; +Cc: sachin.kamat, patches
Fixes the following warnings:
drivers/gpu/drm/exynos/exynos_drm_rotator.c:737:24: warning:
symbol 'rot_limit_tbl' was not declared. Should it be static?
drivers/gpu/drm/exynos/exynos_drm_rotator.c:754:27: warning:
symbol 'rotator_driver_ids' was not declared. Should it be static?
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
drivers/gpu/drm/exynos/exynos_drm_rotator.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_rotator.c b/drivers/gpu/drm/exynos/exynos_drm_rotator.c
index e9e83ef..f976e29 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_rotator.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_rotator.c
@@ -734,7 +734,7 @@ static int rotator_remove(struct platform_device *pdev)
return 0;
}
-struct rot_limit_table rot_limit_tbl = {
+static struct rot_limit_table rot_limit_tbl = {
.ycbcr420_2p = {
.min_w = 32,
.min_h = 32,
@@ -751,7 +751,7 @@ struct rot_limit_table rot_limit_tbl = {
},
};
-struct platform_device_id rotator_driver_ids[] = {
+static struct platform_device_id rotator_driver_ids[] = {
{
.name = "exynos-rot",
.driver_data = (unsigned long)&rot_limit_tbl,
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-14 7:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-14 6:59 [PATCH 1/3] drm/exynos: Make g2d_userptr_get_dma_addr static Sachin Kamat
2013-01-14 6:59 ` [PATCH 2/3] drm/exynos: Make ipp_handle_cmd_work static Sachin Kamat
2013-01-14 6:59 ` [PATCH 3/3] drm/exynos: Add missing static specifiers in exynos_drm_rotator.c Sachin Kamat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).