From: Axel Lin Date: Sat, 4 May 2013 10:51:09 +0000 (+0800) Subject: pm2301_charger: Fix module alias prefix X-Git-Tag: accepted/tizen/common/20141203.182822~2173^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dccab6092d3c25bf943d12fb658e63fd88bf8b4a;p=platform%2Fkernel%2Flinux-arm64.git pm2301_charger: Fix module alias prefix This driver is a i2c driver, use "i2c" rather than "platform" prefix for module alias. Signed-off-by: Axel Lin Signed-off-by: Anton Vorontsov --- diff --git a/drivers/power/pm2301_charger.c b/drivers/power/pm2301_charger.c index f123f3c..e9c6ba0 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");