summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorAnton Vorontsov <cbou@ru.rmk.(none)>2006-10-20 00:56:28 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-10-24 19:21:17 +0100
commitf586fbd0ef273a80d88a07f911d9f2f2a8ac1679 (patch)
treeb42197b91d66ff500eb67bd24fd2738f6bd82609 /drivers/video
parentcf610ca226a484f3182a59f168402cb27dcc1c53 (diff)
[ARM] 3897/1: corgi_bl fix module compiling
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>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/backlight/corgi_bl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/corgi_bl.c b/drivers/video/backlight/corgi_bl.c
index 2ebbfd95145f..6697778650d2 100644
--- a/drivers/video/backlight/corgi_bl.c
+++ b/drivers/video/backlight/corgi_bl.c
@@ -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;