drm/tilcdc: Fix non static symbol warning
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 10 Sep 2016 12:32:57 +0000 (12:32 +0000)
committerJyri Sarha <jsarha@ti.com>
Thu, 22 Sep 2016 20:50:09 +0000 (23:50 +0300)
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>
drivers/gpu/drm/tilcdc/tilcdc_drv.c

index 1981ae9c80a1d57958075f7c8eb2d9211157f71e..4b93cab911685e2c9e714e699d7493508705e686 100644 (file)
@@ -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;