[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1309839394-23189-1-git-send-email-jg1.han@samsung.com>
Date: Tue, 5 Jul 2011 13:16:34 +0900
From: Jingoo Han <jg1.han@...sung.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>
Cc: Richard Purdie <rpurdie@...ys.net>,
Jingoo Han <jg1.han@...sung.com>
Subject: [PATCH] backlight: ams369fg06: fix section mismatch warning
Fix section mismatch warning by adding the correct annotation __devinit
to the driver's probe function.
Signed-off-by: Jingoo Han <jg1.han@...sung.com>
---
drivers/video/backlight/ams369fg06.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/video/backlight/ams369fg06.c b/drivers/video/backlight/ams369fg06.c
index 86a7daf..97f6f41 100644
--- a/drivers/video/backlight/ams369fg06.c
+++ b/drivers/video/backlight/ams369fg06.c
@@ -473,7 +473,7 @@ static const struct backlight_ops ams369fg06_backlight_ops = {
.update_status = ams369fg06_set_brightness,
};
-static int __init ams369fg06_probe(struct spi_device *spi)
+static int __devinit ams369fg06_probe(struct spi_device *spi)
{
int ret = 0;
struct ams369fg06 *lcd = NULL;
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists