drm: remove unused fxn prototypes
Subsystems (2)
PATCH 1/2 drm: remove unused fxn prototypes
From: Rob Clark <[email protected]>
Signed-off-by Rob Clark <[email protected]>
--- include/drm/drm_crtc.h | 15 --------------- 1 file changed, 15 deletions(-)
include/drm/drm_crtc.h +0 -15
@@ -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,
Signature · 1 line
1.7.9.5
oh.. and this should be a 1/1 (no 2nd part.. apparently I suck at git-format-patch)
Quoted 54 lines · Rob Clark
From: Rob Clark <[email protected]>
Signed-off-by Rob Clark <[email protected]>--- include/drm/drm_crtc.h | 15 --------------- 1 file changed, 15 deletions(-)include/drm/drm_crtc.h +0
-16@@ -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