Commit f586fbd0 authored by Anton Vorontsov's avatar Anton Vorontsov Committed by Russell King

[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: default avatarAnton Vorontsov <cbou@mail.ru>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent cf610ca2
...@@ -111,7 +111,7 @@ static struct backlight_properties corgibl_data = { ...@@ -111,7 +111,7 @@ static struct backlight_properties corgibl_data = {
.update_status = corgibl_set_intensity, .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; struct corgibl_machinfo *machinfo = pdev->dev.platform_data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment