aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/omapdrm/dss/Makefile6
-rw-r--r--drivers/gpu/drm/omapdrm/dss/display.c2
-rw-r--r--drivers/gpu/drm/omapdrm/dss/dss-of.c3
-rw-r--r--drivers/gpu/drm/omapdrm/dss/dss.h4
-rw-r--r--drivers/gpu/drm/omapdrm/dss/omapdss.h3
-rw-r--r--drivers/gpu/drm/omapdrm/dss/output.c1
6 files changed, 8 insertions, 11 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/Makefile b/drivers/gpu/drm/omapdrm/dss/Makefile
index c7d070168152..75ec30f231c7 100644
--- a/drivers/gpu/drm/omapdrm/dss/Makefile
+++ b/drivers/gpu/drm/omapdrm/dss/Makefile
@@ -1,12 +1,12 @@
1obj-$(CONFIG_OMAP2_DSS_INIT) += omapdss-boot-init.o 1obj-$(CONFIG_OMAP2_DSS_INIT) += omapdss-boot-init.o
2 2
3obj-$(CONFIG_OMAP_DSS_BASE) += omapdss-base.o 3obj-$(CONFIG_OMAP_DSS_BASE) += omapdss-base.o
4omapdss-base-y := base.o 4omapdss-base-y := base.o display.o dss-of.o output.o
5 5
6obj-$(CONFIG_OMAP2_DSS) += omapdss.o 6obj-$(CONFIG_OMAP2_DSS) += omapdss.o
7# Core DSS files 7# Core DSS files
8omapdss-y := core.o dss.o dss_features.o dispc.o dispc_coefs.o display.o \ 8omapdss-y := core.o dss.o dss_features.o dispc.o dispc_coefs.o \
9 output.o dss-of.o pll.o video-pll.o 9 pll.o video-pll.o
10omapdss-$(CONFIG_OMAP2_DSS_DPI) += dpi.o 10omapdss-$(CONFIG_OMAP2_DSS_DPI) += dpi.o
11omapdss-$(CONFIG_OMAP2_DSS_RFBI) += rfbi.o 11omapdss-$(CONFIG_OMAP2_DSS_RFBI) += rfbi.o
12omapdss-$(CONFIG_OMAP2_DSS_VENC) += venc.o 12omapdss-$(CONFIG_OMAP2_DSS_VENC) += venc.o
diff --git a/drivers/gpu/drm/omapdrm/dss/display.c b/drivers/gpu/drm/omapdrm/dss/display.c
index 333ba284ef6d..e567ff68b216 100644
--- a/drivers/gpu/drm/omapdrm/dss/display.c
+++ b/drivers/gpu/drm/omapdrm/dss/display.c
@@ -29,8 +29,6 @@
29#include <linux/of.h> 29#include <linux/of.h>
30 30
31#include "omapdss.h" 31#include "omapdss.h"
32#include "dss.h"
33#include "dss_features.h"
34 32
35void omapdss_default_get_resolution(struct omap_dss_device *dssdev, 33void omapdss_default_get_resolution(struct omap_dss_device *dssdev,
36 u16 *xres, u16 *yres) 34 u16 *xres, u16 *yres)
diff --git a/drivers/gpu/drm/omapdrm/dss/dss-of.c b/drivers/gpu/drm/omapdrm/dss/dss-of.c
index dfd4e9621e3b..b46606b0f014 100644
--- a/drivers/gpu/drm/omapdrm/dss/dss-of.c
+++ b/drivers/gpu/drm/omapdrm/dss/dss-of.c
@@ -19,7 +19,6 @@
19#include <linux/seq_file.h> 19#include <linux/seq_file.h>
20 20
21#include "omapdss.h" 21#include "omapdss.h"
22#include "dss.h"
23 22
24struct device_node * 23struct device_node *
25omapdss_of_get_next_port(const struct device_node *parent, 24omapdss_of_get_next_port(const struct device_node *parent,
@@ -110,6 +109,7 @@ struct device_node *dss_of_port_get_parent_device(struct device_node *port)
110 109
111 return NULL; 110 return NULL;
112} 111}
112EXPORT_SYMBOL_GPL(dss_of_port_get_parent_device);
113 113
114u32 dss_of_port_get_port_number(struct device_node *port) 114u32 dss_of_port_get_port_number(struct device_node *port)
115{ 115{
@@ -122,6 +122,7 @@ u32 dss_of_port_get_port_number(struct device_node *port)
122 122
123 return reg; 123 return reg;
124} 124}
125EXPORT_SYMBOL_GPL(dss_of_port_get_port_number);
125 126
126static struct device_node *omapdss_of_get_remote_port(const struct device_node *node) 127static struct device_node *omapdss_of_get_remote_port(const struct device_node *node)
127{ 128{
diff --git a/drivers/gpu/drm/omapdrm/dss/dss.h b/drivers/gpu/drm/omapdrm/dss/dss.h
index 4d568ac76826..b0551f0090b4 100644
--- a/drivers/gpu/drm/omapdrm/dss/dss.h
+++ b/drivers/gpu/drm/omapdrm/dss/dss.h
@@ -253,10 +253,6 @@ struct dss_pll *dss_video_pll_init(struct platform_device *pdev, int id,
253 struct regulator *regulator); 253 struct regulator *regulator);
254void dss_video_pll_uninit(struct dss_pll *pll); 254void dss_video_pll_uninit(struct dss_pll *pll);
255 255
256/* dss-of */
257struct device_node *dss_of_port_get_parent_device(struct device_node *port);
258u32 dss_of_port_get_port_number(struct device_node *port);
259
260#if defined(CONFIG_OMAP2_DSS_DEBUGFS) 256#if defined(CONFIG_OMAP2_DSS_DEBUGFS)
261void dss_debug_dump_clocks(struct seq_file *s); 257void dss_debug_dump_clocks(struct seq_file *s);
262#endif 258#endif
diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h
index b644b12345c3..dab367ae5ca1 100644
--- a/drivers/gpu/drm/omapdrm/dss/omapdss.h
+++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h
@@ -846,6 +846,9 @@ omapdss_of_find_source_for_first_ep(struct device_node *node);
846 846
847void omapdss_set_is_initialized(bool set); 847void omapdss_set_is_initialized(bool set);
848 848
849struct device_node *dss_of_port_get_parent_device(struct device_node *port);
850u32 dss_of_port_get_port_number(struct device_node *port);
851
849u32 dispc_read_irqstatus(void); 852u32 dispc_read_irqstatus(void);
850void dispc_clear_irqstatus(u32 mask); 853void dispc_clear_irqstatus(u32 mask);
851u32 dispc_read_irqenable(void); 854u32 dispc_read_irqenable(void);
diff --git a/drivers/gpu/drm/omapdrm/dss/output.c b/drivers/gpu/drm/omapdrm/dss/output.c
index 0858958677a1..2b999dc48621 100644
--- a/drivers/gpu/drm/omapdrm/dss/output.c
+++ b/drivers/gpu/drm/omapdrm/dss/output.c
@@ -22,7 +22,6 @@
22#include <linux/of.h> 22#include <linux/of.h>
23 23
24#include "omapdss.h" 24#include "omapdss.h"
25#include "dss.h"
26 25
27static LIST_HEAD(output_list); 26static LIST_HEAD(output_list);
28static DEFINE_MUTEX(output_lock); 27static DEFINE_MUTEX(output_lock);