diff options
Diffstat (limited to 'drivers/char/drm/radeon_cp.c')
-rw-r--r-- | drivers/char/drm/radeon_cp.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/char/drm/radeon_cp.c b/drivers/char/drm/radeon_cp.c index 03839ea31092..dc3a15a1819a 100644 --- a/drivers/char/drm/radeon_cp.c +++ b/drivers/char/drm/radeon_cp.c | |||
@@ -2103,7 +2103,7 @@ int radeon_cp_buffers(DRM_IOCTL_ARGS) | |||
2103 | return ret; | 2103 | return ret; |
2104 | } | 2104 | } |
2105 | 2105 | ||
2106 | int radeon_driver_preinit(struct drm_device *dev, unsigned long flags) | 2106 | int radeon_driver_load(struct drm_device *dev, unsigned long flags) |
2107 | { | 2107 | { |
2108 | drm_radeon_private_t *dev_priv; | 2108 | drm_radeon_private_t *dev_priv; |
2109 | int ret = 0; | 2109 | int ret = 0; |
@@ -2140,7 +2140,10 @@ int radeon_driver_preinit(struct drm_device *dev, unsigned long flags) | |||
2140 | return ret; | 2140 | return ret; |
2141 | } | 2141 | } |
2142 | 2142 | ||
2143 | int radeon_presetup(struct drm_device *dev) | 2143 | /* Create mappings for registers and framebuffer so userland doesn't necessarily |
2144 | * have to find them. | ||
2145 | */ | ||
2146 | int radeon_driver_firstopen(struct drm_device *dev) | ||
2144 | { | 2147 | { |
2145 | int ret; | 2148 | int ret; |
2146 | drm_local_map_t *map; | 2149 | drm_local_map_t *map; |
@@ -2161,7 +2164,7 @@ int radeon_presetup(struct drm_device *dev) | |||
2161 | return 0; | 2164 | return 0; |
2162 | } | 2165 | } |
2163 | 2166 | ||
2164 | int radeon_driver_postcleanup(struct drm_device *dev) | 2167 | int radeon_driver_unload(struct drm_device *dev) |
2165 | { | 2168 | { |
2166 | drm_radeon_private_t *dev_priv = dev->dev_private; | 2169 | drm_radeon_private_t *dev_priv = dev->dev_private; |
2167 | 2170 | ||