projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e055d1
)
phy: ralink: phy-mt7621-pci: set correct name in MODULE_DEVICE_TABLE macro
author
Sergio Paracuellos
<sergio.paracuellos@gmail.com>
Tue, 1 Dec 2020 11:20:51 +0000
(12:20 +0100)
committer
Vinod 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
patch
|
blob
|
history
diff --git
a/drivers/phy/ralink/phy-mt7621-pci.c
b/drivers/phy/ralink/phy-mt7621-pci.c
index db79088d53624d94348293a0d39b645da96bdfe7..9a610b414b1fb36f901765134d69e26ad969ead0 100644
(file)
--- a/
drivers/phy/ralink/phy-mt7621-pci.c
+++ b/
drivers/phy/ralink/phy-mt7621-pci.c
@@
-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,