drm: don't export drm_get_drawable_info
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 23 Aug 2010 20:53:30 +0000 (22:53 +0200)
committerDave Airlie <airlied@redhat.com>
Sun, 29 Aug 2010 23:38:37 +0000 (09:38 +1000)
Not used by any in-tree user. So drop it.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_drawable.c
include/drm/drmP.h

index c53c9768cc115528fd20e1ad18aae7f69cbf2e4d..170e53178d8b33899b081a4b1c1b2e096e8f68d9 100644 (file)
@@ -173,11 +173,10 @@ error:
 /**
  * Caller must hold the drawable spinlock!
  */
-struct drm_drawable_info *drm_get_drawable_info(struct drm_device *dev, drm_drawable_t id)
+static struct drm_drawable_info *drm_get_drawable_info(struct drm_device *dev, drm_drawable_t id)
 {
        return idr_find(&dev->drw_idr, id);
 }
-EXPORT_SYMBOL(drm_get_drawable_info);
 
 static int drm_drawable_free(int idr, void *p, void *data)
 {
index eb4f7edcc3145bcebd56d3fafeb27e94a53daf8a..7a5c91c2aa6058752631dba556df1819f09712b4 100644 (file)
@@ -1238,8 +1238,6 @@ extern int drm_rmdraw(struct drm_device *dev, void *data,
                      struct drm_file *file_priv);
 extern int drm_update_drawable_info(struct drm_device *dev, void *data,
                                    struct drm_file *file_priv);
-extern struct drm_drawable_info *drm_get_drawable_info(struct drm_device *dev,
-                                                 drm_drawable_t id);
 extern void drm_drawable_free_all(struct drm_device *dev);
 
                                /* Authentication IOCTL support (drm_auth.h) */