From 74c21ef5b28891b18f3986cdefffb43f84d5fd65 Mon Sep 17 00:00:00 2001 From: Jingoo Han Date: Sat, 16 Jul 2011 23:31:00 +1000 Subject: [PATCH] Fix section mismatch warning by adding the correct annotation __devinit to the driver's probe function. Signed-off-by: Jingoo Han Cc: Jingoo Han Cc: Richard Purdie Cc: Inki Dae Cc: anish singh Signed-off-by: Andrew Morton --- drivers/video/backlight/ams369fg06.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/backlight/ams369fg06.c b/drivers/video/backlight/ams369fg06.c index 6462d05d47d4..b4ec26bf056e 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; -- 2.39.5