diff options
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/dma-contiguous.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/dma-contiguous.c b/drivers/base/dma-contiguous.c index 0ca54421ce97..6c9cdaa9200d 100644 --- a/drivers/base/dma-contiguous.c +++ b/drivers/base/dma-contiguous.c | |||
@@ -134,7 +134,7 @@ void __init dma_contiguous_reserve(phys_addr_t limit) | |||
134 | 134 | ||
135 | static DEFINE_MUTEX(cma_mutex); | 135 | static DEFINE_MUTEX(cma_mutex); |
136 | 136 | ||
137 | static __init int cma_activate_area(unsigned long base_pfn, unsigned long count) | 137 | static int __init cma_activate_area(unsigned long base_pfn, unsigned long count) |
138 | { | 138 | { |
139 | unsigned long pfn = base_pfn; | 139 | unsigned long pfn = base_pfn; |
140 | unsigned i = count >> pageblock_order; | 140 | unsigned i = count >> pageblock_order; |
@@ -156,7 +156,7 @@ static __init int cma_activate_area(unsigned long base_pfn, unsigned long count) | |||
156 | return 0; | 156 | return 0; |
157 | } | 157 | } |
158 | 158 | ||
159 | static __init struct cma *cma_create_area(unsigned long base_pfn, | 159 | static struct cma * __init cma_create_area(unsigned long base_pfn, |
160 | unsigned long count) | 160 | unsigned long count) |
161 | { | 161 | { |
162 | int bitmap_size = BITS_TO_LONGS(count) * sizeof(long); | 162 | int bitmap_size = BITS_TO_LONGS(count) * sizeof(long); |