summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tilcdc
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-09-10 12:32:57 +0000
committerJyri Sarha <jsarha@ti.com>2016-09-22 23:50:09 +0300
commit30457676e2289378094ed67b26ce3bfe312a0246 (patch)
tree2723aa6ef02aa0b434a796bd850604bf66e3e8a4 /drivers/gpu/drm/tilcdc
parent952e8faec53ec1de045f44f48a82e5069d2f17b4 (diff)
downloadblackbird-op-linux-30457676e2289378094ed67b26ce3bfe312a0246.tar.gz
blackbird-op-linux-30457676e2289378094ed67b26ce3bfe312a0246.zip
drm/tilcdc: Fix non static symbol warning
Fixes the following sparse warning: drivers/gpu/drm/tilcdc/tilcdc_drv.c:64:5: warning: symbol 'tilcdc_atomic_check' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Jyri Sarha <jsarha@ti.com>
Diffstat (limited to 'drivers/gpu/drm/tilcdc')
-rw-r--r--drivers/gpu/drm/tilcdc/tilcdc_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
index 1981ae9c80a1..4b93cab91168 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
@@ -75,8 +75,8 @@ static void tilcdc_fb_output_poll_changed(struct drm_device *dev)
drm_fbdev_cma_hotplug_event(priv->fbdev);
}
-int tilcdc_atomic_check(struct drm_device *dev,
- struct drm_atomic_state *state)
+static int tilcdc_atomic_check(struct drm_device *dev,
+ struct drm_atomic_state *state)
{
int ret;
OpenPOWER on IntegriCloud