summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/adp8870_bl.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-08-26 00:59:18 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-08-26 01:25:34 +0200
commitc53252b780e26c73c6a4e40bc14179447504cccd (patch)
tree9c2fe8346141c5e8c4bfb26256d23ef36620124a /drivers/video/backlight/adp8870_bl.c
parentbacklight: add a callback 'notify_after' for backlight control (diff)
downloadlinux-c53252b780e26c73c6a4e40bc14179447504cccd.tar.xz
linux-c53252b780e26c73c6a4e40bc14179447504cccd.zip
backlight: fix module alias prefix for adp8870_bl
This is an i2c driver, not a platform driver, thus use "i2c" prefix for the module alias. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/backlight/adp8870_bl.c')
-rw-r--r--drivers/video/backlight/adp8870_bl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/adp8870_bl.c b/drivers/video/backlight/adp8870_bl.c
index 05a8832bb3eb..d06886a2bfb5 100644
--- a/drivers/video/backlight/adp8870_bl.c
+++ b/drivers/video/backlight/adp8870_bl.c
@@ -1009,4 +1009,4 @@ module_exit(adp8870_exit);
MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>");
MODULE_DESCRIPTION("ADP8870 Backlight driver");
-MODULE_ALIAS("platform:adp8870-backlight");
+MODULE_ALIAS("i2c:adp8870-backlight");