[PATCH 1/2] drm: remove unused fxn prototypes

Rob Clark rob.clark at linaro.org
Tue Sep 4 15:48:19 PDT 2012


oh.. and this should be a 1/1 (no 2nd part.. apparently I suck at
git-format-patch)

On Tue, Sep 4, 2012 at 5:46 PM, Rob Clark <rob.clark at linaro.org> wrote:
> From: Rob Clark <rob at ti.com>
>
> Signed-off-by: Rob Clark <rob at ti.com>
> ---
>  include/drm/drm_crtc.h |   15 ---------------
>  1 file changed, 15 deletions(-)
>
> diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
> index 7ba9b39..a82e0a2 100644
> --- a/include/drm/drm_crtc.h
> +++ b/include/drm/drm_crtc.h
> @@ -918,17 +918,10 @@ extern int drm_object_property_set_value(struct drm_mode_object *obj,
>  extern int drm_object_property_get_value(struct drm_mode_object *obj,
>                                          struct drm_property *property,
>                                          uint64_t *value);
> -extern struct drm_display_mode *drm_crtc_mode_create(struct drm_device *dev);
> -extern void drm_framebuffer_set_object(struct drm_device *dev,
> -                                      unsigned long handle);
>  extern int drm_framebuffer_init(struct drm_device *dev,
>                                 struct drm_framebuffer *fb,
>                                 const struct drm_framebuffer_funcs *funcs);
>  extern void drm_framebuffer_cleanup(struct drm_framebuffer *fb);
> -extern int drmfb_probe(struct drm_device *dev, struct drm_crtc *crtc);
> -extern int drmfb_remove(struct drm_device *dev, struct drm_framebuffer *fb);
> -extern void drm_crtc_probe_connector_modes(struct drm_device *dev, int maxX, int maxY);
> -extern bool drm_crtc_in_use(struct drm_crtc *crtc);
>
>  extern void drm_connector_attach_property(struct drm_connector *connector,
>                                           struct drm_property *property, uint64_t init_val);
> @@ -995,10 +988,6 @@ extern int drm_mode_getfb(struct drm_device *dev,
>                           void *data, struct drm_file *file_priv);
>  extern int drm_mode_dirtyfb_ioctl(struct drm_device *dev,
>                                   void *data, struct drm_file *file_priv);
> -extern int drm_mode_addmode_ioctl(struct drm_device *dev,
> -                                 void *data, struct drm_file *file_priv);
> -extern int drm_mode_rmmode_ioctl(struct drm_device *dev,
> -                                void *data, struct drm_file *file_priv);
>  extern int drm_mode_attachmode_ioctl(struct drm_device *dev,
>                                      void *data, struct drm_file *file_priv);
>  extern int drm_mode_detachmode_ioctl(struct drm_device *dev,
> @@ -1010,10 +999,6 @@ extern int drm_mode_getblob_ioctl(struct drm_device *dev,
>                                   void *data, struct drm_file *file_priv);
>  extern int drm_mode_connector_property_set_ioctl(struct drm_device *dev,
>                                               void *data, struct drm_file *file_priv);
> -extern int drm_mode_hotplug_ioctl(struct drm_device *dev,
> -                                 void *data, struct drm_file *file_priv);
> -extern int drm_mode_replacefb(struct drm_device *dev,
> -                             void *data, struct drm_file *file_priv);
>  extern int drm_mode_getencoder(struct drm_device *dev,
>                                void *data, struct drm_file *file_priv);
>  extern int drm_mode_gamma_get_ioctl(struct drm_device *dev,
> --
> 1.7.9.5
>


More information about the dri-devel mailing list