diff options
| -rw-r--r-- | drivers/gpu/drm/omapdrm/dss/Makefile | 6 | ||||
| -rw-r--r-- | drivers/gpu/drm/omapdrm/dss/display.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/omapdrm/dss/dss-of.c | 3 | ||||
| -rw-r--r-- | drivers/gpu/drm/omapdrm/dss/dss.h | 4 | ||||
| -rw-r--r-- | drivers/gpu/drm/omapdrm/dss/omapdss.h | 3 | ||||
| -rw-r--r-- | drivers/gpu/drm/omapdrm/dss/output.c | 1 |
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 @@ | |||
| 1 | obj-$(CONFIG_OMAP2_DSS_INIT) += omapdss-boot-init.o | 1 | obj-$(CONFIG_OMAP2_DSS_INIT) += omapdss-boot-init.o |
| 2 | 2 | ||
| 3 | obj-$(CONFIG_OMAP_DSS_BASE) += omapdss-base.o | 3 | obj-$(CONFIG_OMAP_DSS_BASE) += omapdss-base.o |
| 4 | omapdss-base-y := base.o | 4 | omapdss-base-y := base.o display.o dss-of.o output.o |
| 5 | 5 | ||
| 6 | obj-$(CONFIG_OMAP2_DSS) += omapdss.o | 6 | obj-$(CONFIG_OMAP2_DSS) += omapdss.o |
| 7 | # Core DSS files | 7 | # Core DSS files |
| 8 | omapdss-y := core.o dss.o dss_features.o dispc.o dispc_coefs.o display.o \ | 8 | omapdss-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 |
| 10 | omapdss-$(CONFIG_OMAP2_DSS_DPI) += dpi.o | 10 | omapdss-$(CONFIG_OMAP2_DSS_DPI) += dpi.o |
| 11 | omapdss-$(CONFIG_OMAP2_DSS_RFBI) += rfbi.o | 11 | omapdss-$(CONFIG_OMAP2_DSS_RFBI) += rfbi.o |
| 12 | omapdss-$(CONFIG_OMAP2_DSS_VENC) += venc.o | 12 | omapdss-$(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 | ||
| 35 | void omapdss_default_get_resolution(struct omap_dss_device *dssdev, | 33 | void 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 | ||
| 24 | struct device_node * | 23 | struct device_node * |
| 25 | omapdss_of_get_next_port(const struct device_node *parent, | 24 | omapdss_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 | } |
| 112 | EXPORT_SYMBOL_GPL(dss_of_port_get_parent_device); | ||
| 113 | 113 | ||
| 114 | u32 dss_of_port_get_port_number(struct device_node *port) | 114 | u32 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 | } |
| 125 | EXPORT_SYMBOL_GPL(dss_of_port_get_port_number); | ||
| 125 | 126 | ||
| 126 | static struct device_node *omapdss_of_get_remote_port(const struct device_node *node) | 127 | static 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); |
| 254 | void dss_video_pll_uninit(struct dss_pll *pll); | 254 | void dss_video_pll_uninit(struct dss_pll *pll); |
| 255 | 255 | ||
| 256 | /* dss-of */ | ||
| 257 | struct device_node *dss_of_port_get_parent_device(struct device_node *port); | ||
| 258 | u32 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) |
| 261 | void dss_debug_dump_clocks(struct seq_file *s); | 257 | void 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 | ||
| 847 | void omapdss_set_is_initialized(bool set); | 847 | void omapdss_set_is_initialized(bool set); |
| 848 | 848 | ||
| 849 | struct device_node *dss_of_port_get_parent_device(struct device_node *port); | ||
| 850 | u32 dss_of_port_get_port_number(struct device_node *port); | ||
| 851 | |||
| 849 | u32 dispc_read_irqstatus(void); | 852 | u32 dispc_read_irqstatus(void); |
| 850 | void dispc_clear_irqstatus(u32 mask); | 853 | void dispc_clear_irqstatus(u32 mask); |
| 851 | u32 dispc_read_irqenable(void); | 854 | u32 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 | ||
| 27 | static LIST_HEAD(output_list); | 26 | static LIST_HEAD(output_list); |
| 28 | static DEFINE_MUTEX(output_lock); | 27 | static DEFINE_MUTEX(output_lock); |
