diff options
author | Dave Airlie <airlied@starflyer.(none)> | 2005-11-11 07:10:18 -0500 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-11-11 07:10:18 -0500 |
commit | c0be4d240483f3ebd138db467b5e8fbe15c520e2 (patch) | |
tree | e34f8e56d03516171559812a9db92ea95f015e98 /drivers | |
parent | efa58395bee82dc5a87805e7eb7c710e88eb4bd7 (diff) |
drm: remove exports that modules shouldn't use.
Modules should go via the new drm_agp_ functions.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/drm/drm_memory.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/char/drm/drm_memory.c b/drivers/char/drm/drm_memory.c index 2c74155aa84f..7438741c29e9 100644 --- a/drivers/char/drm/drm_memory.c +++ b/drivers/char/drm/drm_memory.c | |||
@@ -145,30 +145,22 @@ DRM_AGP_MEM *drm_alloc_agp(drm_device_t * dev, int pages, u32 type) | |||
145 | return drm_agp_allocate_memory(dev->agp->bridge, pages, type); | 145 | return drm_agp_allocate_memory(dev->agp->bridge, pages, type); |
146 | } | 146 | } |
147 | 147 | ||
148 | EXPORT_SYMBOL(drm_alloc_agp); | ||
149 | |||
150 | /** Wrapper around agp_free_memory() */ | 148 | /** Wrapper around agp_free_memory() */ |
151 | int drm_free_agp(DRM_AGP_MEM * handle, int pages) | 149 | int drm_free_agp(DRM_AGP_MEM * handle, int pages) |
152 | { | 150 | { |
153 | return drm_agp_free_memory(handle) ? 0 : -EINVAL; | 151 | return drm_agp_free_memory(handle) ? 0 : -EINVAL; |
154 | } | 152 | } |
155 | 153 | ||
156 | EXPORT_SYMBOL(drm_free_agp); | ||
157 | |||
158 | /** Wrapper around agp_bind_memory() */ | 154 | /** Wrapper around agp_bind_memory() */ |
159 | int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start) | 155 | int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start) |
160 | { | 156 | { |
161 | return drm_agp_bind_memory(handle, start); | 157 | return drm_agp_bind_memory(handle, start); |
162 | } | 158 | } |
163 | 159 | ||
164 | EXPORT_SYMBOL(drm_bind_agp); | ||
165 | |||
166 | /** Wrapper around agp_unbind_memory() */ | 160 | /** Wrapper around agp_unbind_memory() */ |
167 | int drm_unbind_agp(DRM_AGP_MEM * handle) | 161 | int drm_unbind_agp(DRM_AGP_MEM * handle) |
168 | { | 162 | { |
169 | return drm_agp_unbind_memory(handle); | 163 | return drm_agp_unbind_memory(handle); |
170 | } | 164 | } |
171 | |||
172 | EXPORT_SYMBOL(drm_unbind_agp); | ||
173 | #endif /* agp */ | 165 | #endif /* agp */ |
174 | #endif /* debug_memory */ | 166 | #endif /* debug_memory */ |