nvmem: qnap-mcu-eeprom: Fix struct assignments using commas instead of semicolons

The nvcfg struct member assignments were incorrectly using commas instead
of semicolons.

Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
Link: https://patch.msgid.link/20260327131751.3026030-3-srini@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Felix Gu
2026-03-27 13:17:44 +00:00
committed by Greg Kroah-Hartman
parent 58b140a67a
commit 4e012d4cb6

View File

@@ -86,10 +86,10 @@ static int qnap_mcu_eeprom_probe(struct platform_device *pdev)
nvcfg.read_only = true;
nvcfg.root_only = false;
nvcfg.reg_read = qnap_mcu_eeprom_read;
nvcfg.size = QNAP_MCU_EEPROM_SIZE,
nvcfg.word_size = 1,
nvcfg.stride = 1,
nvcfg.priv = mcu,
nvcfg.size = QNAP_MCU_EEPROM_SIZE;
nvcfg.word_size = 1;
nvcfg.stride = 1;
nvcfg.priv = mcu;
ndev = devm_nvmem_register(&pdev->dev, &nvcfg);
if (IS_ERR(ndev))