diff options
-rw-r--r-- | drivers/gpu/drm/drm_drawable.c | 3 | ||||
-rw-r--r-- | include/drm/drmP.h | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_drawable.c b/drivers/gpu/drm/drm_drawable.c index c53c9768cc11..170e53178d8b 100644 --- a/drivers/gpu/drm/drm_drawable.c +++ b/drivers/gpu/drm/drm_drawable.c | |||
@@ -173,11 +173,10 @@ error: | |||
173 | /** | 173 | /** |
174 | * Caller must hold the drawable spinlock! | 174 | * Caller must hold the drawable spinlock! |
175 | */ | 175 | */ |
176 | struct drm_drawable_info *drm_get_drawable_info(struct drm_device *dev, drm_drawable_t id) | 176 | static struct drm_drawable_info *drm_get_drawable_info(struct drm_device *dev, drm_drawable_t id) |
177 | { | 177 | { |
178 | return idr_find(&dev->drw_idr, id); | 178 | return idr_find(&dev->drw_idr, id); |
179 | } | 179 | } |
180 | EXPORT_SYMBOL(drm_get_drawable_info); | ||
181 | 180 | ||
182 | static int drm_drawable_free(int idr, void *p, void *data) | 181 | static int drm_drawable_free(int idr, void *p, void *data) |
183 | { | 182 | { |
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index eb4f7edcc314..7a5c91c2aa60 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -1238,8 +1238,6 @@ extern int drm_rmdraw(struct drm_device *dev, void *data, | |||
1238 | struct drm_file *file_priv); | 1238 | struct drm_file *file_priv); |
1239 | extern int drm_update_drawable_info(struct drm_device *dev, void *data, | 1239 | extern int drm_update_drawable_info(struct drm_device *dev, void *data, |
1240 | struct drm_file *file_priv); | 1240 | struct drm_file *file_priv); |
1241 | extern struct drm_drawable_info *drm_get_drawable_info(struct drm_device *dev, | ||
1242 | drm_drawable_t id); | ||
1243 | extern void drm_drawable_free_all(struct drm_device *dev); | 1241 | extern void drm_drawable_free_all(struct drm_device *dev); |
1244 | 1242 | ||
1245 | /* Authentication IOCTL support (drm_auth.h) */ | 1243 | /* Authentication IOCTL support (drm_auth.h) */ |