mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-06 02:16:10 +02:00
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 <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/21418 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
f5c0225a48
commit
10127e2201
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user