diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-02-10 17:38:40 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-06 16:35:54 -0800 |
commit | c3d6047d95fad6d70894d7ff79d49e47deae41e5 (patch) | |
tree | 69d14c8a96ad33600301659d80597dd71d574ca3 | |
parent | 6a3386b15f40e3750b52b9be7a84100edc9ae0f6 (diff) | |
download | linux-c3d6047d95fad6d70894d7ff79d49e47deae41e5.tar.bz2 |
staging: sm7xxfb: make vgamode static
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>
-rw-r--r-- | drivers/staging/sm7xxfb/sm7xx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sm7xxfb/sm7xx.h b/drivers/staging/sm7xxfb/sm7xx.h index 7cc1896938b6..c5d62534e4a4 100644 --- a/drivers/staging/sm7xxfb/sm7xx.h +++ b/drivers/staging/sm7xxfb/sm7xx.h @@ -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, |