@@ -387,7 +387,7 @@ static void bq256xx_usb_work(struct work_struct *data)
387
387
}
388
388
}
389
389
390
- static struct reg_default bq2560x_reg_defs [] = {
390
+ static const struct reg_default bq2560x_reg_defs [] = {
391
391
{BQ256XX_INPUT_CURRENT_LIMIT , 0x17 },
392
392
{BQ256XX_CHARGER_CONTROL_0 , 0x1a },
393
393
{BQ256XX_CHARGE_CURRENT_LIMIT , 0xa2 },
@@ -398,7 +398,7 @@ static struct reg_default bq2560x_reg_defs[] = {
398
398
{BQ256XX_CHARGER_CONTROL_3 , 0x4c },
399
399
};
400
400
401
- static struct reg_default bq25611d_reg_defs [] = {
401
+ static const struct reg_default bq25611d_reg_defs [] = {
402
402
{BQ256XX_INPUT_CURRENT_LIMIT , 0x17 },
403
403
{BQ256XX_CHARGER_CONTROL_0 , 0x1a },
404
404
{BQ256XX_CHARGE_CURRENT_LIMIT , 0x91 },
@@ -411,7 +411,7 @@ static struct reg_default bq25611d_reg_defs[] = {
411
411
{BQ256XX_CHARGER_CONTROL_4 , 0x75 },
412
412
};
413
413
414
- static struct reg_default bq25618_619_reg_defs [] = {
414
+ static const struct reg_default bq25618_619_reg_defs [] = {
415
415
{BQ256XX_INPUT_CURRENT_LIMIT , 0x17 },
416
416
{BQ256XX_CHARGER_CONTROL_0 , 0x1a },
417
417
{BQ256XX_CHARGE_CURRENT_LIMIT , 0x91 },
0 commit comments