Skip to contentSkip to conversation

pcie-gadget-spear: Add "platform:" prefix for platform modalias

PATCH In review Axel Lin 2 participants 2 messages Oct 31, 2011 Char and misc drivers

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 pcie-gadget-spear: Add "platform:" prefix for platform modalias

Since 43cc71eed1250755986da4c0f9898f9a635cb3bf (platform: prefix MODALIAS with "platform:"), the platform modalias is prefixed with "platform:".

---
 drivers/misc/spear13xx_pcie_gadget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/misc/spear13xx_pcie_gadget.c +1 -1
index cfbddbe..43d073b 100644
@@ -903,6 +903,6 @@ static void __exit spear_pcie_gadget_exit(void)
 }
 module_exit(spear_pcie_gadget_exit);
 
-MODULE_ALIAS("pcie-gadget-spear");
+MODULE_ALIAS("platform:pcie-gadget-spear");
 MODULE_AUTHOR("Pratyush Anand");
 MODULE_LICENSE("GPL");
Signature · 1 line
1.7.5.4
Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Axel Lin

Since 43cc71eed1250755986da4c0f9898f9a635cb3bf (platform: prefix MODALIAS with "platform:"), the platform modalias is prefixed with "platform:".

---
  drivers/misc/spear13xx_pcie_gadget.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
drivers/misc/spear13xx_pcie_gadget.c +0 -0
index cfbddbe..43d073b 100644

drivers/misc/spear13xx_pcie_gadget.c static void __exit spear_pcie_gadget_exit(void) · line 908

Quoted 7 lines
drivers/misc/spear13xx_pcie_gadget.c +1 -1
@@ -903,6 +903,6 @@ static void __exit spear_pcie_gadget_exit(void)
  }
  module_exit(spear_pcie_gadget_exit);
 
-MODULE_ALIAS("pcie-gadget-spear");
+MODULE_ALIAS("platform:pcie-gadget-spear");
  MODULE_AUTHOR("Pratyush Anand");
  MODULE_LICENSE("GPL");