aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-08 09:41:30 -0400
committerDave Airlie <airlied@redhat.com>2013-08-18 20:05:53 -0400
commitd678959f0a16da74beaa7e7c2fbb943ebd08a1d3 (patch)
treeb8f88056e29cf65e4e62ff192cf394c45fbdfc8a
parentfac3eaffb1139156099b6111337525d47e65bca6 (diff)
drm/memory: don't export agp helpers
They're only used by the agpgart support code in drm_agpgart.c, not by any drivers. I think long-term we should create a drm_internal.h include file with all the various functions only used by the drm core and not exported to drivers, and remove them from drmP.h. Oh, and someone should kill that upper-case P sometimes ;-) But that's all stuff for future patch bombs. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/drm_memory.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_memory.c b/drivers/gpu/drm/drm_memory.c
index 126d50ea181f..64e44fad8ae8 100644
--- a/drivers/gpu/drm/drm_memory.c
+++ b/drivers/gpu/drm/drm_memory.c
@@ -86,7 +86,6 @@ void drm_free_agp(DRM_AGP_MEM * handle, int pages)
86{ 86{
87 agp_free_memory(handle); 87 agp_free_memory(handle);
88} 88}
89EXPORT_SYMBOL(drm_free_agp);
90 89
91/** Wrapper around agp_bind_memory() */ 90/** Wrapper around agp_bind_memory() */
92int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start) 91int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start)
@@ -99,7 +98,6 @@ int drm_unbind_agp(DRM_AGP_MEM * handle)
99{ 98{
100 return agp_unbind_memory(handle); 99 return agp_unbind_memory(handle);
101} 100}
102EXPORT_SYMBOL(drm_unbind_agp);
103 101
104#else /* __OS_HAS_AGP */ 102#else /* __OS_HAS_AGP */
105static inline void *agp_remap(unsigned long offset, unsigned long size, 103static inline void *agp_remap(unsigned long offset, unsigned long size,