summaryrefslogtreecommitdiff
path: root/drivers/nvmem/snvs_lpgpr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nvmem/snvs_lpgpr.c')
-rw-r--r--drivers/nvmem/snvs_lpgpr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvmem/snvs_lpgpr.c b/drivers/nvmem/snvs_lpgpr.c
index c527d26ca6ac..4692aa985bd6 100644
--- a/drivers/nvmem/snvs_lpgpr.c
+++ b/drivers/nvmem/snvs_lpgpr.c
@@ -123,7 +123,7 @@ static int snvs_lpgpr_probe(struct platform_device *pdev)
cfg->dev = dev;
cfg->stride = 4;
cfg->word_size = 4;
- cfg->size = dcfg->size,
+ cfg->size = dcfg->size;
cfg->owner = THIS_MODULE;
cfg->reg_read = snvs_lpgpr_read;
cfg->reg_write = snvs_lpgpr_write;