ARM: mm: fix type of the arm_dma_limit global variable
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 6 Jun 2012 10:05:01 +0000 (12:05 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 2 Mar 2013 20:11:28 +0000 (22:11 +0200)
commit3e98fe5d385602e223bb7bb32d1e5754b8a3ecaf
tree0dc14bec719d2640df31a8076d83cac96dd520fa
parent271e14534abc5500c1924878f799ad7e5326dc46
ARM: mm: fix type of the arm_dma_limit global variable

arm_dma_limit stores physical address of maximal address accessible by DMA,
so the phys_addr_t type makes much more sense for it instead of u32. This
patch fixes the following build warning:

arch/arm/mm/init.c:380: warning: comparison of distinct pointer types lacks a cast

Reported-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm/mm/init.c
arch/arm/mm/mm.h