]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: gpu: Mark functions as static in mgag200_mode.c
authorRashika <rashika.kheria@gmail.com>
Mon, 6 Jan 2014 15:07:15 +0000 (20:37 +0530)
committerDave Airlie <airlied@redhat.com>
Tue, 14 Jan 2014 02:59:20 +0000 (12:59 +1000)
commit504817e3a9b0f6b3e6ff56646cb8e7e0bfef62d4
tree681cf9488380da6e881c00e60a1c1e14b5c43864
parent6ae3ea20b416e3dcb741dbaa9a327f366b66a96b
drivers: gpu: Mark functions as static in mgag200_mode.c

Mark functions mga_set_start_address(), mga_encoder_destroy() and
mga_connector_best_encoder() as static in drm/mgag200/mgag200_mode.c
because they are not used outside this file.

This eliminates the following warnings in drm/mgag200/mgag200_mode.c:
drivers/gpu/drm/mgag200/mgag200_mode.c:694:6: warning: no previous
prototype for ‘mga_set_start_address’ [-Wmissing-prototypes]
drivers/gpu/drm/mgag200/mgag200_mode.c:1401:6: warning: no previous
prototype for ‘mga_encoder_destroy’ [-Wmissing-prototypes]
drivers/gpu/drm/mgag200/mgag200_mode.c:1561:21: warning: no previous
prototype for ‘mga_connector_best_encoder’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/mgag200/mgag200_mode.c