OMAPDSS: add missing __init for dss_init_ports
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 20 Mar 2014 09:55:02 +0000 (11:55 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 4 Apr 2014 06:55:18 +0000 (09:55 +0300)
dss_init_ports() is missing __init, so fix that.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dss.c

index 32b4ff0..825c019 100644 (file)
@@ -774,7 +774,7 @@ static int __init dss_init_features(struct platform_device *pdev)
        return 0;
 }
 
-static int dss_init_ports(struct platform_device *pdev)
+static int __init dss_init_ports(struct platform_device *pdev)
 {
        struct device_node *parent = pdev->dev.of_node;
        struct device_node *port;