diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-05-04 18:51:09 +0800 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-05-10 11:57:14 -0700 |
commit | dccab6092d3c25bf943d12fb658e63fd88bf8b4a (patch) | |
tree | 8ea5b39531cce562a466fbeef0258b0a3a3ad6e4 /drivers | |
parent | c909fc8573af3cff9184551e79cf37784b5ddc24 (diff) | |
download | linux-next-dccab6092d3c25bf943d12fb658e63fd88bf8b4a.tar.gz |
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 <axel.lin@ingics.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/power/pm2301_charger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/pm2301_charger.c b/drivers/power/pm2301_charger.c index f123f3c219c3..e9c6ba0fee7b 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"); |