summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2014-03-20 09:55:02 (GMT)
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-04-04 06:55:18 (GMT)
commit5f0bc7a9eec7e562be82b90bffee7a5370d38517 (patch)
treea23ebaf5ec9dd15d7c8cf7eb2603032b45c08ff8 /drivers/video
parentb4f889208ffbd425ff1cb9ddcaf8483a3b91cd6a (diff)
downloadlinux-5f0bc7a9eec7e562be82b90bffee7a5370d38517.tar.xz
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')
-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 32b4ff0..825c019 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;