From: Fabian Frederick Date: Wed, 23 Apr 2014 16:09:58 +0000 (+0200) Subject: OMAPDSS: add __exit to dss_uninit_ports X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a41ca72e5733097c8e54784d42b3d340d5b504ad;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git OMAPDSS: add __exit to dss_uninit_ports dss_uninit_ports is only called by __exit omap_dsshw_remove Cc: Tomi Valkeinen Cc: linux-omap@vger.kernel.org Cc: Andrew Morton Signed-off-by: Fabian Frederick Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/fbdev/omap2/dss/dss.c b/drivers/video/fbdev/omap2/dss/dss.c index d55266c0e029..a1c1cc217332 100644 --- a/drivers/video/fbdev/omap2/dss/dss.c +++ b/drivers/video/fbdev/omap2/dss/dss.c @@ -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();