Skip to contentSkip to conversation

drivers: phy: exynos4x12-phy: Add missing MODULE_DEVICE_TABLE

PATCH In review Sjoerd Simons 2 participants 3 messages Jul 2, 2014 – Jul 3, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: phy: exynos4x12-phy: Add missing MODULE_DEVICE_TABLE

---
 drivers/phy/phy-samsung-usb2.c | 1 +
 1 file changed, 1 insertion(+)
drivers/phy/phy-samsung-usb2.c +1 -0
index 8a8c6bc..1e69a32 100644
@@ -107,6 +107,7 @@ static const struct of_device_id samsung_usb2_phy_of_match[] = {
 #endif
 	{ },
 };
+MODULE_DEVICE_TABLE(of, samsung_usb2_phy_of_match);
 
 static int samsung_usb2_phy_probe(struct platform_device *pdev)
 {
Signature · 1 line
2.0.0
#1 lore raw

Hi,

On Wednesday 02 July 2014 01:18 PM, Sjoerd Simons wrote:

Please add a commit log here describing what your patch does and why you need it.

Cheers
Kishon

Quoted 18 lines
---
 drivers/phy/phy-samsung-usb2.c | 1 +
 1 file changed, 1 insertion(+)
drivers/phy/phy-samsung-usb2.c +1 -0
index 8a8c6bc..1e69a32 100644
@@ -107,6 +107,7 @@ static const struct of_device_id samsung_usb2_phy_of_match[] = {
 #endif
 	{ },
 };
+MODULE_DEVICE_TABLE(of, samsung_usb2_phy_of_match);
 
 static int samsung_usb2_phy_probe(struct platform_device *pdev)
 {
#2 lore raw

PATCH 1/1 drivers: phy: phy-samsung-usb2.c: Add missing MODULE_DEVICE_TABLE

In reply to Sjoerd Simons

Allow phy-exynos-usb2 to be autoloaded based on devicetree information. Tested on Odroid X2 with its USB subsystem build as modules.

---
 drivers/phy/phy-samsung-usb2.c | 1 +
 1 file changed, 1 insertion(+)
drivers/phy/phy-samsung-usb2.c +1 -0
index 8a8c6bc..1e69a32 100644
@@ -107,6 +107,7 @@ static const struct of_device_id samsung_usb2_phy_of_match[] = {
 #endif
 	{ },
 };
+MODULE_DEVICE_TABLE(of, samsung_usb2_phy_of_match);
 
 static int samsung_usb2_phy_probe(struct platform_device *pdev)
 {
Signature · 1 line
2.0.0