diff options
author | Joe Perches <joe@perches.com> | 2017-02-23 08:54:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-06 11:16:59 +0300 |
commit | 999c8c28a89f1c8a681be01964c7239c3cc2685d (patch) | |
tree | bc5b95182c884e8599dcc7f383b8874d97a7924f /drivers/staging/fbtft/fb_s6d02a1.c | |
parent | 0a859b31ec9c8bce9aacc9ccae3af6aab84b04c7 (diff) | |
download | linux-999c8c28a89f1c8a681be01964c7239c3cc2685d.tar.xz |
staging: fbtft: Make some s16 arrays const
Using const reduces data size.
$ size drivers/staging/fbtft/built-in.o*
text data bss dec hex filename
89909 41584 2928 134421 20d15 drivers/staging/fbtft/built-in.o.new
88053 43392 2928 134373 20ce5 drivers/staging/fbtft/built-in.o.old
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fbtft/fb_s6d02a1.c')
-rw-r--r-- | drivers/staging/fbtft/fb_s6d02a1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fbtft/fb_s6d02a1.c b/drivers/staging/fbtft/fb_s6d02a1.c index eb712aa0d692..c12855bb6891 100644 --- a/drivers/staging/fbtft/fb_s6d02a1.c +++ b/drivers/staging/fbtft/fb_s6d02a1.c @@ -24,7 +24,7 @@ #define DRVNAME "fb_s6d02a1" -static s16 default_init_sequence[] = { +static const s16 default_init_sequence[] = { -1, 0xf0, 0x5a, 0x5a, |