From: Anton Vorontsov Date: Thu, 19 Oct 2006 23:56:28 +0000 (+0100) Subject: [ARM] 3897/1: corgi_bl fix module compiling X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f586fbd0ef273a80d88a07f911d9f2f2a8ac1679;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [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 Signed-off-by: Anton Vorontsov Signed-off-by: Russell King --- 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;