Messages in this thread Patch in this message | | | From | Jingoo Han <> | Subject | [PATCH] backlight: ams369fg06: fix section mismatch warning | Date | Tue, 5 Jul 2011 13:16:34 +0900 |
| |
Fix section mismatch warning by adding the correct annotation __devinit to the driver's probe function.
Signed-off-by: Jingoo Han <jg1.han@samsung.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
| |