diff options
Diffstat (limited to 'drivers/gpu/drm/drm_memory.c')
-rw-r--r-- | drivers/gpu/drm/drm_memory.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/drm_memory.c b/drivers/gpu/drm/drm_memory.c index d69e4fc1ee77..40c4349cb939 100644 --- a/drivers/gpu/drm/drm_memory.c +++ b/drivers/gpu/drm/drm_memory.c | |||
@@ -51,7 +51,7 @@ | |||
51 | #endif | 51 | #endif |
52 | 52 | ||
53 | static void *agp_remap(unsigned long offset, unsigned long size, | 53 | static void *agp_remap(unsigned long offset, unsigned long size, |
54 | struct drm_device * dev) | 54 | struct drm_device *dev) |
55 | { | 55 | { |
56 | unsigned long i, num_pages = | 56 | unsigned long i, num_pages = |
57 | PAGE_ALIGN(size) / PAGE_SIZE; | 57 | PAGE_ALIGN(size) / PAGE_SIZE; |
@@ -94,26 +94,26 @@ static void *agp_remap(unsigned long offset, unsigned long size, | |||
94 | } | 94 | } |
95 | 95 | ||
96 | /** Wrapper around agp_free_memory() */ | 96 | /** Wrapper around agp_free_memory() */ |
97 | void drm_free_agp(struct agp_memory * handle, int pages) | 97 | void drm_free_agp(struct agp_memory *handle, int pages) |
98 | { | 98 | { |
99 | agp_free_memory(handle); | 99 | agp_free_memory(handle); |
100 | } | 100 | } |
101 | 101 | ||
102 | /** Wrapper around agp_bind_memory() */ | 102 | /** Wrapper around agp_bind_memory() */ |
103 | int drm_bind_agp(struct agp_memory * handle, unsigned int start) | 103 | int drm_bind_agp(struct agp_memory *handle, unsigned int start) |
104 | { | 104 | { |
105 | return agp_bind_memory(handle, start); | 105 | return agp_bind_memory(handle, start); |
106 | } | 106 | } |
107 | 107 | ||
108 | /** Wrapper around agp_unbind_memory() */ | 108 | /** Wrapper around agp_unbind_memory() */ |
109 | int drm_unbind_agp(struct agp_memory * handle) | 109 | int drm_unbind_agp(struct agp_memory *handle) |
110 | { | 110 | { |
111 | return agp_unbind_memory(handle); | 111 | return agp_unbind_memory(handle); |
112 | } | 112 | } |
113 | 113 | ||
114 | #else /* CONFIG_AGP */ | 114 | #else /* CONFIG_AGP */ |
115 | static inline void *agp_remap(unsigned long offset, unsigned long size, | 115 | static inline void *agp_remap(unsigned long offset, unsigned long size, |
116 | struct drm_device * dev) | 116 | struct drm_device *dev) |
117 | { | 117 | { |
118 | return NULL; | 118 | return NULL; |
119 | } | 119 | } |