diff mbox

[09/16] drm/omap: remove unneeded prototypes

Message ID 1493893412-12178-10-git-send-email-tomi.valkeinen@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Tomi Valkeinen May 4, 2017, 10:23 a.m. UTC
omapdss.h contains prototypes for three functions, which are also
defined in dss_features.h. Remove the extra prototypes from omapdss.h.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
---
 drivers/gpu/drm/omapdrm/dss/omapdss.h | 5 -----
 1 file changed, 5 deletions(-)

Comments

Laurent Pinchart May 24, 2017, 9:43 a.m. UTC | #1
Hi Tomi,

Thank you for the patch.

On Thursday 04 May 2017 13:23:25 Tomi Valkeinen wrote:
> omapdss.h contains prototypes for three functions, which are also
> defined in dss_features.h. Remove the extra prototypes from omapdss.h.
> 
> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  drivers/gpu/drm/omapdrm/dss/omapdss.h | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h
> b/drivers/gpu/drm/omapdrm/dss/omapdss.h index d16f60a774e2..1fb48783ea2d
> 100644
> --- a/drivers/gpu/drm/omapdrm/dss/omapdss.h
> +++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h
> @@ -746,11 +746,6 @@ struct omap_dss_device *omap_dss_find_device(void
> *data, int (*match)(struct omap_dss_device *dssdev, void *data));
>  const char *omapdss_get_default_display_name(void);
> 
> -int dss_feat_get_num_mgrs(void);
> -int dss_feat_get_num_ovls(void);
> -enum omap_color_mode dss_feat_get_supported_color_modes(enum omap_plane_id
> plane); -
> -
> 
>  int omap_dss_get_num_overlay_managers(void);
>  struct omap_overlay_manager *omap_dss_get_overlay_manager(int num);
diff mbox

Patch

diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h
index d16f60a774e2..1fb48783ea2d 100644
--- a/drivers/gpu/drm/omapdrm/dss/omapdss.h
+++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h
@@ -746,11 +746,6 @@  struct omap_dss_device *omap_dss_find_device(void *data,
 		int (*match)(struct omap_dss_device *dssdev, void *data));
 const char *omapdss_get_default_display_name(void);
 
-int dss_feat_get_num_mgrs(void);
-int dss_feat_get_num_ovls(void);
-enum omap_color_mode dss_feat_get_supported_color_modes(enum omap_plane_id plane);
-
-
 
 int omap_dss_get_num_overlay_managers(void);
 struct omap_overlay_manager *omap_dss_get_overlay_manager(int num);