From 10127e220117c0d2838d6c17744e31ccba7d1f39 Mon Sep 17 00:00:00 2001 From: Mieczyslaw Nalewaj Date: Wed, 7 Jan 2026 08:09:29 +0100 Subject: [PATCH] ramips: mt7621_nand: fix MODULE_DEVICE_TABLE reference The MODULE_DEVICE_TABLE macro was using an incorrect parameter 'match' instead of the actual device table name 'mt7621_nfc_id_table'. This fixes the reference to use the correct symbol name, ensuring proper device table registration for module autoloading. Signed-off-by: Mieczyslaw Nalewaj Link: https://github.com/openwrt/openwrt/pull/21418 Signed-off-by: Robert Marko --- target/linux/ramips/files/drivers/mtd/nand/raw/mt7621_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/files/drivers/mtd/nand/raw/mt7621_nand.c b/target/linux/ramips/files/drivers/mtd/nand/raw/mt7621_nand.c index 7828d383ab..8d040014d4 100644 --- a/target/linux/ramips/files/drivers/mtd/nand/raw/mt7621_nand.c +++ b/target/linux/ramips/files/drivers/mtd/nand/raw/mt7621_nand.c @@ -1327,7 +1327,7 @@ static const struct of_device_id mt7621_nfc_id_table[] = { { .compatible = "mediatek,mt7621-nfc" }, { }, }; -MODULE_DEVICE_TABLE(of, match); +MODULE_DEVICE_TABLE(of, mt7621_nfc_id_table); static struct platform_driver mt7621_nfc_driver = { .probe = mt7621_nfc_probe,