summaryrefslogtreecommitdiff
path: root/drivers/video/omap2/dss
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2014-03-20 11:55:02 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-04-04 09:55:18 +0300
commit5f0bc7a9eec7e562be82b90bffee7a5370d38517 (patch)
treea23ebaf5ec9dd15d7c8cf7eb2603032b45c08ff8 /drivers/video/omap2/dss
parentb4f889208ffbd425ff1cb9ddcaf8483a3b91cd6a (diff)
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>
Diffstat (limited to 'drivers/video/omap2/dss')
-rw-r--r--drivers/video/omap2/dss/dss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c
index 32b4ff0606ab..825c019ddee7 100644
--- a/drivers/video/omap2/dss/dss.c
+++ b/drivers/video/omap2/dss/dss.c
@@ -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;