]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00153757 mxc_hdmi: fix build error of mxc_hdmi.c
authorJason Chen <b02280@freescale.com>
Wed, 27 Jul 2011 06:06:18 +0000 (14:06 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:02 +0000 (08:33 +0200)
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 <b02280@freescale.com>
drivers/video/mxc_hdmi.c

index 35dec91c30e10feea82ac216175058345cb318b4..383e738224e6a189183c926e81bdb8935da903d7 100644 (file)
@@ -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);