OMAPDSS: add __exit to dss_uninit_ports
authorFabian Frederick <fabf@skynet.be>
Wed, 23 Apr 2014 16:09:58 +0000 (18:09 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 9 May 2014 09:56:32 +0000 (12:56 +0300)
dss_uninit_ports is only called by __exit omap_dsshw_remove

Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: linux-omap@vger.kernel.org
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/dss.c

index d55266c..a1c1cc2 100644 (file)
@@ -813,7 +813,7 @@ static int __init dss_init_ports(struct platform_device *pdev)
        return 0;
 }
 
-static void dss_uninit_ports(void)
+static void __exit dss_uninit_ports(void)
 {
 #ifdef CONFIG_OMAP2_DSS_DPI
        dpi_uninit_port();