diff options
| author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-11-04 10:10:56 -0500 |
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-12-29 04:06:29 -0500 |
| commit | 98c2835ede2427badb3bf57974f155a0011193c7 (patch) | |
| tree | ef0b70a80f548fb6307b79210168f2118787ac67 /drivers/video/fbdev/omap2 | |
| parent | f2d580a1b0f3c10c57fd89cd2e7389a4fa9b94f3 (diff) | |
OMAPDSS: make a two dss feat funcs internal to omapdss
dss_feat_get_supported_displays() and dss_feat_get_supported_outputs()
are not used outside omapdss, but are exported. We can thus remove the
export and move the declarations to the omapdss internal header.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/video/fbdev/omap2')
| -rw-r--r-- | drivers/video/fbdev/omap2/dss/dss_features.c | 2 | ||||
| -rw-r--r-- | drivers/video/fbdev/omap2/dss/dss_features.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/video/fbdev/omap2/dss/dss_features.c b/drivers/video/fbdev/omap2/dss/dss_features.c index 48951c5cb352..c886a2927f73 100644 --- a/drivers/video/fbdev/omap2/dss/dss_features.c +++ b/drivers/video/fbdev/omap2/dss/dss_features.c | |||
| @@ -835,13 +835,11 @@ enum omap_display_type dss_feat_get_supported_displays(enum omap_channel channel | |||
| 835 | { | 835 | { |
| 836 | return omap_current_dss_features->supported_displays[channel]; | 836 | return omap_current_dss_features->supported_displays[channel]; |
| 837 | } | 837 | } |
| 838 | EXPORT_SYMBOL(dss_feat_get_supported_displays); | ||
| 839 | 838 | ||
| 840 | enum omap_dss_output_id dss_feat_get_supported_outputs(enum omap_channel channel) | 839 | enum omap_dss_output_id dss_feat_get_supported_outputs(enum omap_channel channel) |
| 841 | { | 840 | { |
| 842 | return omap_current_dss_features->supported_outputs[channel]; | 841 | return omap_current_dss_features->supported_outputs[channel]; |
| 843 | } | 842 | } |
| 844 | EXPORT_SYMBOL(dss_feat_get_supported_outputs); | ||
| 845 | 843 | ||
| 846 | enum omap_color_mode dss_feat_get_supported_color_modes(enum omap_plane plane) | 844 | enum omap_color_mode dss_feat_get_supported_color_modes(enum omap_plane plane) |
| 847 | { | 845 | { |
diff --git a/drivers/video/fbdev/omap2/dss/dss_features.h b/drivers/video/fbdev/omap2/dss/dss_features.h index 0e75927339c7..3d67d39f192f 100644 --- a/drivers/video/fbdev/omap2/dss/dss_features.h +++ b/drivers/video/fbdev/omap2/dss/dss_features.h | |||
| @@ -101,4 +101,8 @@ bool dss_feat_rotation_type_supported(enum omap_dss_rotation_type rot_type); | |||
| 101 | bool dss_has_feature(enum dss_feat_id id); | 101 | bool dss_has_feature(enum dss_feat_id id); |
| 102 | void dss_feat_get_reg_field(enum dss_feat_reg_field id, u8 *start, u8 *end); | 102 | void dss_feat_get_reg_field(enum dss_feat_reg_field id, u8 *start, u8 *end); |
| 103 | void dss_features_init(enum omapdss_version version); | 103 | void dss_features_init(enum omapdss_version version); |
| 104 | |||
| 105 | enum omap_display_type dss_feat_get_supported_displays(enum omap_channel channel); | ||
| 106 | enum omap_dss_output_id dss_feat_get_supported_outputs(enum omap_channel channel); | ||
| 107 | |||
| 104 | #endif | 108 | #endif |
