diff --git a/arch/arm/mach-msm/include/mach/memory.h b/arch/arm/mach-msm/include/mach/memory.h index 56c4afdad549..6119a3c44000 100644 --- a/arch/arm/mach-msm/include/mach/memory.h +++ b/arch/arm/mach-msm/include/mach/memory.h @@ -70,7 +70,7 @@ extern unsigned long ebi1_phys_offset; #ifndef __ASSEMBLY__ void *allocate_contiguous_ebi(unsigned long, unsigned long, int); -unsigned long allocate_contiguous_ebi_nomap(unsigned long, unsigned long); +phys_addr_t allocate_contiguous_ebi_nomap(unsigned long, unsigned long); void clean_and_invalidate_caches(unsigned long, unsigned long, unsigned long); void clean_caches(unsigned long, unsigned long, unsigned long); void invalidate_caches(unsigned long, unsigned long, unsigned long); diff --git a/arch/arm/mach-msm/memory.c b/arch/arm/mach-msm/memory.c index 2b4e97592444..fcb85a0db70b 100644 --- a/arch/arm/mach-msm/memory.c +++ b/arch/arm/mach-msm/memory.c @@ -257,7 +257,7 @@ void *allocate_contiguous_ebi(unsigned long size, } EXPORT_SYMBOL(allocate_contiguous_ebi); -unsigned long allocate_contiguous_ebi_nomap(unsigned long size, +phys_addr_t allocate_contiguous_ebi_nomap(unsigned long size, unsigned long align) { return _allocate_contiguous_memory_nomap(size, get_ebi_memtype(),