diff options
Diffstat (limited to 'drivers/gpu/drm/drm_memory.c')
-rw-r--r-- | drivers/gpu/drm/drm_memory.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/drm_memory.c b/drivers/gpu/drm/drm_memory.c index bcc869bc4092..0c707f533eab 100644 --- a/drivers/gpu/drm/drm_memory.c +++ b/drivers/gpu/drm/drm_memory.c | |||
@@ -159,7 +159,7 @@ static inline void *agp_remap(unsigned long offset, unsigned long size, | |||
159 | 159 | ||
160 | #endif /* debug_memory */ | 160 | #endif /* debug_memory */ |
161 | 161 | ||
162 | void drm_core_ioremap(struct drm_map *map, struct drm_device *dev) | 162 | void drm_core_ioremap(struct drm_local_map *map, struct drm_device *dev) |
163 | { | 163 | { |
164 | if (drm_core_has_AGP(dev) && | 164 | if (drm_core_has_AGP(dev) && |
165 | dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) | 165 | dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) |
@@ -169,7 +169,7 @@ void drm_core_ioremap(struct drm_map *map, struct drm_device *dev) | |||
169 | } | 169 | } |
170 | EXPORT_SYMBOL(drm_core_ioremap); | 170 | EXPORT_SYMBOL(drm_core_ioremap); |
171 | 171 | ||
172 | void drm_core_ioremap_wc(struct drm_map *map, struct drm_device *dev) | 172 | void drm_core_ioremap_wc(struct drm_local_map *map, struct drm_device *dev) |
173 | { | 173 | { |
174 | if (drm_core_has_AGP(dev) && | 174 | if (drm_core_has_AGP(dev) && |
175 | dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) | 175 | dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) |
@@ -179,7 +179,7 @@ void drm_core_ioremap_wc(struct drm_map *map, struct drm_device *dev) | |||
179 | } | 179 | } |
180 | EXPORT_SYMBOL(drm_core_ioremap_wc); | 180 | EXPORT_SYMBOL(drm_core_ioremap_wc); |
181 | 181 | ||
182 | void drm_core_ioremapfree(struct drm_map *map, struct drm_device *dev) | 182 | void drm_core_ioremapfree(struct drm_local_map *map, struct drm_device *dev) |
183 | { | 183 | { |
184 | if (!map->handle || !map->size) | 184 | if (!map->handle || !map->size) |
185 | return; | 185 | return; |