Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: ralink: phy-mt7621-pci: set correct name in MODULE_DEVICE_TABLE macro

Correct name passed into 'MODULE_DEVICE_TABLE' which was wrong and
was showing a warning when the driver is enabled for 'COMPILE_TEST'.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20201201112051.17463-3-sergio.paracuellos@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Sergio Paracuellos and committed by
Vinod Koul
8145dcb0 0e055d17

+1 -1
+1 -1
drivers/phy/ralink/phy-mt7621-pci.c
··· 335 335 { .compatible = "mediatek,mt7621-pci-phy" }, 336 336 {}, 337 337 }; 338 - MODULE_DEVICE_TABLE(of, mt7621_pci_ids); 338 + MODULE_DEVICE_TABLE(of, mt7621_pci_phy_ids); 339 339 340 340 static struct platform_driver mt7621_pci_phy_driver = { 341 341 .probe = mt7621_pci_phy_probe,