From: Axel Lin Date: Thu, 25 Aug 2011 22:59:18 +0000 (-0700) Subject: backlight: fix module alias prefix for adp8870_bl X-Git-Tag: firefly_0821_release~3680^2~4565 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c53252b780e26c73c6a4e40bc14179447504cccd;p=firefly-linux-kernel-4.4.55.git 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 Acked-by: Michael Hennerich Cc: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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 "); MODULE_DESCRIPTION("ADP8870 Backlight driver"); -MODULE_ALIAS("platform:adp8870-backlight"); +MODULE_ALIAS("i2c:adp8870-backlight");