[ARM] 3897/1: corgi_bl fix module compiling
authorAnton Vorontsov <cbou@ru.rmk.(none)>
Thu, 19 Oct 2006 23:56:28 +0000 (00:56 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 24 Oct 2006 18:21:17 +0000 (19:21 +0100)
Fix module compiling:
WARNING: drivers/video/backlight/corgi_bl.o - Section mismatch:
reference to .init.text: from .data between '$d' (at offset 0x0) and
'bl_mutex'

Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Anton Vorontsov <cbou@mail.ru>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/video/backlight/corgi_bl.c

index 2ebbfd95145fd34587cbd715b2d59048c283abfb..6697778650d20d869f2e3ba0bad2558b8f08e256 100644 (file)
@@ -111,7 +111,7 @@ static struct backlight_properties corgibl_data = {
        .update_status  = corgibl_set_intensity,
 };
 
-static int __init corgibl_probe(struct platform_device *pdev)
+static int corgibl_probe(struct platform_device *pdev)
 {
        struct corgibl_machinfo *machinfo = pdev->dev.platform_data;