From: Jason Chen Date: Wed, 27 Jul 2011 06:06:18 +0000 (+0800) Subject: ENGR00153757 mxc_hdmi: fix build error of mxc_hdmi.c X-Git-Tag: v3.0.35-fsl~2217 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8c3f7eca470770ab5956d91efd58e40d2e86e866;p=karo-tx-linux.git ENGR00153757 mxc_hdmi: fix build error of mxc_hdmi.c Fix build error of below: `mxc_hdmi_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o` Signed-off-by: Jason Chen --- diff --git a/drivers/video/mxc_hdmi.c b/drivers/video/mxc_hdmi.c index 35dec91c30e1..383e738224e6 100644 --- a/drivers/video/mxc_hdmi.c +++ b/drivers/video/mxc_hdmi.c @@ -2599,7 +2599,7 @@ ealloc: return ret; } -static int __exit mxc_hdmi_remove(struct platform_device *pdev) +static int mxc_hdmi_remove(struct platform_device *pdev) { struct fsl_mxc_lcd_platform_data *pdata = pdev->dev.platform_data; struct mxc_hdmi *hdmi = platform_get_drvdata(pdev);