mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 03:11:11 -04:00
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:
committed by
Greg Kroah-Hartman
parent
58b140a67a
commit
4e012d4cb6
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user