Browse Source

[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>
Anton Vorontsov 18 years ago
parent
commit
f586fbd0ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/video/backlight/corgi_bl.c

+ 1 - 1
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;