Skip to contentSkip to conversation

pwm: renesas-tpu: Add MODULE_ALIAS to make module auto loading work

PATCH Applied Axel Lin 2 participants 2 messages Jun 25, 2013 – Jun 26, 2013

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 pwm: renesas-tpu: Add MODULE_ALIAS to make module auto loading work

This driver can be built as module, add MODULE_ALIAS to make module auto loading work.

---
 drivers/pwm/pwm-renesas-tpu.c | 1 +
 1 file changed, 1 insertion(+)
drivers/pwm/pwm-renesas-tpu.c +1 -0
index 96e0cc4..ee53ca2 100644
@@ -473,3 +473,4 @@ module_platform_driver(tpu_driver);
 MODULE_AUTHOR("Laurent Pinchart <[email protected]>");
 MODULE_DESCRIPTION("Renesas TPU PWM Driver");
 MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:renesas-tpu-pwm");
Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 7 lines · Axel Lin

This driver can be built as module, add MODULE_ALIAS to make module auto loading work.

---
 drivers/pwm/pwm-renesas-tpu.c | 1 +
 1 file changed, 1 insertion(+)

Applied, thanks.

Thierry