]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
phy: ralink: phy-mt7621-pci: set correct name in MODULE_DEVICE_TABLE macro
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Tue, 1 Dec 2020 11:20:51 +0000 (12:20 +0100)
committerVinod Koul <vkoul@kernel.org>
Tue, 1 Dec 2020 11:44:41 +0000 (17:14 +0530)
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>
drivers/phy/ralink/phy-mt7621-pci.c

index db79088d53624d94348293a0d39b645da96bdfe7..9a610b414b1fb36f901765134d69e26ad969ead0 100644 (file)
@@ -335,7 +335,7 @@ static const struct of_device_id mt7621_pci_phy_ids[] = {
        { .compatible = "mediatek,mt7621-pci-phy" },
        {},
 };
-MODULE_DEVICE_TABLE(of, mt7621_pci_ids);
+MODULE_DEVICE_TABLE(of, mt7621_pci_phy_ids);
 
 static struct platform_driver mt7621_pci_phy_driver = {
        .probe = mt7621_pci_phy_probe,