Browse Source

OMAPDSS: add missing __init for dss_init_ports

dss_init_ports() is missing __init, so fix that.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tomi Valkeinen 11 years ago
parent
commit
5f0bc7a9ee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/video/omap2/dss/dss.c

+ 1 - 1
drivers/video/omap2/dss/dss.c

@@ -774,7 +774,7 @@ static int __init dss_init_features(struct platform_device *pdev)
 	return 0;
 	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 *parent = pdev->dev.of_node;
 	struct device_node *port;
 	struct device_node *port;