diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-09-10 15:32:57 +0300 |
---|---|---|
committer | Jyri Sarha <jsarha@ti.com> | 2016-09-22 23:50:09 +0300 |
commit | 30457676e2289378094ed67b26ce3bfe312a0246 (patch) | |
tree | 2723aa6ef02aa0b434a796bd850604bf66e3e8a4 /drivers/gpu/drm/tilcdc | |
parent | 952e8faec53ec1de045f44f48a82e5069d2f17b4 (diff) | |
download | linux-30457676e2289378094ed67b26ce3bfe312a0246.tar.xz |
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.c | 4 |
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; |