]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tilcdc: make tilcdc_mode_hvtotal() static
authorXiongwei Song <sxwjean@gmail.com>
Sat, 2 Dec 2017 11:24:22 +0000 (19:24 +0800)
committerJyri Sarha <jsarha@ti.com>
Mon, 18 Dec 2017 20:29:21 +0000 (22:29 +0200)
commitcb7767ffbaf739c0cbfe2f311ff1eaf116bd2377
tree7d5158713c187333f781152ddcf9bd08acfc1c75
parentde0e6925f748c3c5a74b1b2be95cd315f3b07bd2
drm/tilcdc: make tilcdc_mode_hvtotal() static

The function tilcdc_mode_hvtotal is local to the source and does not need
to be in global scope, so make it static.

drivers/gpu/drm/tilcdc/tilcdc_crtc.c:297:6: warning: no previous prototype for 'tilcdc_mode_hvtotal' [-Wmissing-prototypes]
 uint tilcdc_mode_hvtotal(const struct drm_display_mode *mode)

Signed-off-by: Xiongwei Song <sxwjean@gmail.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c