staging: sm7xxfb: make vgamode static
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 10 Feb 2015 12:08:40 +0000 (17:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 00:35:54 +0000 (16:35 -0800)
the variable vgamode is used only in this file and hence can be
safely made as static.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm7xxfb/sm7xx.h

index 7cc1896938b60b13992d6e5982f680a71822eea7..c5d62534e4a4cebb54f85dc400952e56c122bdec 100644 (file)
@@ -119,7 +119,7 @@ struct ModeInit {
 /**********************************************************************
                         SM712 Mode table.
  **********************************************************************/
-struct ModeInit vgamode[] = {
+static struct ModeInit vgamode[] = {
        {
         /*  mode#0: 640 x 480  16Bpp  60Hz */
         640, 480, 16, 60,