diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-05-04 12:51:09 +0200 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-05-10 20:57:14 +0200 |
commit | dccab6092d3c25bf943d12fb658e63fd88bf8b4a (patch) | |
tree | 8ea5b39531cce562a466fbeef0258b0a3a3ad6e4 /drivers | |
parent | wm831x_backup: Fix wrong kfree call for devdata->backup.name (diff) | |
download | linux-dccab6092d3c25bf943d12fb658e63fd88bf8b4a.tar.xz linux-dccab6092d3c25bf943d12fb658e63fd88bf8b4a.zip |
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"); |