This driver is a i2c driver, use "i2c" rather than "platform" prefix for module
alias.
Signed-off-by: Axel Lin <[email protected]>
---
drivers/power/pm2301_charger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/pm2301_charger.c b/drivers/power/pm2301_charger.c
index a441751..fef56e2 100644
--- a/drivers/power/pm2301_charger.c
+++ b/drivers/power/pm2301_charger.c
@@ -1269,5 +1269,5 @@ module_exit(pm2xxx_charger_exit);
MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Rajkumar kasirajan, Olivier Launay");
-MODULE_ALIAS("platform:pm2xxx-charger");
+MODULE_ALIAS("i2c:pm2xxx-charger");
MODULE_DESCRIPTION("PM2xxx charger management driver");
--
1.8.1.2
On Sat, May 04, 2013 at 06:51:09PM +0800, Axel Lin wrote:
> This driver is a i2c driver, use "i2c" rather than "platform" prefix for module
> alias.
>
> Signed-off-by: Axel Lin <[email protected]>
> ---
Applied, thanks Axel!
Anton
> drivers/power/pm2301_charger.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/power/pm2301_charger.c b/drivers/power/pm2301_charger.c
> index a441751..fef56e2 100644
> --- a/drivers/power/pm2301_charger.c
> +++ b/drivers/power/pm2301_charger.c
> @@ -1269,5 +1269,5 @@ module_exit(pm2xxx_charger_exit);
>
> MODULE_LICENSE("GPL v2");
> MODULE_AUTHOR("Rajkumar kasirajan, Olivier Launay");
> -MODULE_ALIAS("platform:pm2xxx-charger");
> +MODULE_ALIAS("i2c:pm2xxx-charger");
> MODULE_DESCRIPTION("PM2xxx charger management driver");
> --
> 1.8.1.2