diff options
author | Joe Perches <joe@perches.com> | 2017-02-22 21:54:56 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-06 09:16:59 +0100 |
commit | 0a859b31ec9c8bce9aacc9ccae3af6aab84b04c7 (patch) | |
tree | c798d87df60292fa341dfc6406179606c1ad0848 /drivers/staging/fbtft/flexfb.c | |
parent | eb1d69c21cfe617a9474a0ad0ac5a858a55e4adb (diff) |
staging: fbtft: Make the pointers to s16 init arrays const
This allows making some of the actual arrays const.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fbtft/flexfb.c')
-rw-r--r-- | drivers/staging/fbtft/flexfb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/fbtft/flexfb.c b/drivers/staging/fbtft/flexfb.c index af8422e18780..f749c057901f 100644 --- a/drivers/staging/fbtft/flexfb.c +++ b/drivers/staging/fbtft/flexfb.c @@ -63,7 +63,7 @@ static bool latched; module_param(latched, bool, 0000); MODULE_PARM_DESC(latched, "Use with latched 16-bit databus"); -static s16 *initp; +static const s16 *initp; static int initp_num; /* default init sequences */ @@ -390,7 +390,7 @@ struct flexfb_lcd_controller { unsigned int height; unsigned int setaddrwin; unsigned int regwidth; - s16 *init_seq; + const s16 *init_seq; int init_seq_sz; }; |