diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-07-08 08:25:50 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-07-08 21:50:58 -0700 |
commit | ec0843fabe29ad44bdaaa16c8d6cda4537716de5 (patch) | |
tree | 3c83a98e81f090d057874ccc52972f2fc5a9d527 /drivers/input/misc/drv2665.c | |
parent | 2d53809594afaf2ae66a90a3142c1b702fd3bcea (diff) | |
download | linux-ec0843fabe29ad44bdaaa16c8d6cda4537716de5.tar.gz linux-ec0843fabe29ad44bdaaa16c8d6cda4537716de5.tar.bz2 linux-ec0843fabe29ad44bdaaa16c8d6cda4537716de5.zip |
Input: drv260x/drv2665/drv2667 - constify reg_default tables
These reg_default tables are not modified after initialized, so make them
const.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/drv2665.c')
-rw-r--r-- | drivers/input/misc/drv2665.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/drv2665.c b/drivers/input/misc/drv2665.c index 0afaa33de07d..e9501fdca5ef 100644 --- a/drivers/input/misc/drv2665.c +++ b/drivers/input/misc/drv2665.c @@ -74,7 +74,7 @@ static const u8 drv2665_sine_wave_form[] = { 0x9b, 0x9f, 0xa5, 0xad, 0xb8, 0xc4, 0xd2, 0xe0, 0xf0, 0x00, }; -static struct reg_default drv2665_reg_defs[] = { +static const struct reg_default drv2665_reg_defs[] = { { DRV2665_STATUS, 0x02 }, { DRV2665_CTRL_1, 0x28 }, { DRV2665_CTRL_2, 0x40 }, |