summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-11-11 23:05:27 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-11-12 16:55:33 +0100
commita1025e224c518dceb342d0cc54e5513c6476f60c (patch)
tree421139a6d6ee6e09ee4f487ac1c2322e87d3afe7 /drivers/video/backlight
parentdrivers/video/backlight/s6e63m0.c: unregister backlight device and remove sys... (diff)
downloadlinux-a1025e224c518dceb342d0cc54e5513c6476f60c.tar.xz
linux-a1025e224c518dceb342d0cc54e5513c6476f60c.zip
drivers/video/backlight/s6e63m0.c: fix section mismatch
Eliminate section mismatch warning by marking s6e63m0_probe() as __devinit. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Richard Purdie <rpurdie@linux.intel.com> Cc: InKi Dae <inki.dae@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/backlight')
-rw-r--r--drivers/video/backlight/s6e63m0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/s6e63m0.c b/drivers/video/backlight/s6e63m0.c
index 78bcdb176691..5927db0da999 100644
--- a/drivers/video/backlight/s6e63m0.c
+++ b/drivers/video/backlight/s6e63m0.c
@@ -732,7 +732,7 @@ static ssize_t s6e63m0_sysfs_show_gamma_table(struct device *dev,
static DEVICE_ATTR(gamma_table, 0444,
s6e63m0_sysfs_show_gamma_table, NULL);
-static int __init s6e63m0_probe(struct spi_device *spi)
+static int __devinit s6e63m0_probe(struct spi_device *spi)
{
int ret = 0;
struct s6e63m0 *lcd = NULL;