summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-08-28 10:41:41 +0200
committerInki Dae <inki.dae@samsung.com>2012-09-13 05:38:09 +0200
commit9e1355e7d9c0dac39b9bc4e146a49d379f43ba42 (patch)
tree3f7903f047fb689f8e36b86bff02c57bb8b580b8
parentdrm/exynos: Add dependency for G2D in Kconfig (diff)
downloadlinux-9e1355e7d9c0dac39b9bc4e146a49d379f43ba42.tar.xz
linux-9e1355e7d9c0dac39b9bc4e146a49d379f43ba42.zip
drm/exynos: Make g2d_pm_ops static
Fixes the following warning: drivers/gpu/drm/exynos/exynos_drm_g2d.c:897:1: warning: symbol 'g2d_pm_ops' 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> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_g2d.c2
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 6adfa4e03265..1065e90d0919 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_g2d.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_g2d.c
@@ -894,7 +894,7 @@ static int g2d_resume(struct device *dev)
}
#endif
-SIMPLE_DEV_PM_OPS(g2d_pm_ops, g2d_suspend, g2d_resume);
+static SIMPLE_DEV_PM_OPS(g2d_pm_ops, g2d_suspend, g2d_resume);
struct platform_driver g2d_driver = {
.probe = g2d_probe,