OSDN Git Service

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)
commit584d4ed80e93889c54daeee75243c765f9d1e879
tree7d5158713c187333f781152ddcf9bd08acfc1c75
parent1775ede035a425ff35b73d6daceb619061278ade
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