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>
This commit is contained in:
Axel Lin
2015-07-08 08:25:50 -07:00
committed by Dmitry Torokhov
parent 2d53809594
commit ec0843fabe
3 changed files with 3 additions and 3 deletions

View File

@@ -204,7 +204,7 @@ struct drv260x_data {
int overdrive_voltage;
};
static struct reg_default drv260x_reg_defs[] = {
static const struct reg_default drv260x_reg_defs[] = {
{ DRV260X_STATUS, 0xe0 },
{ DRV260X_MODE, 0x40 },
{ DRV260X_RT_PB_IN, 0x00 },