ARM: fix warning caused by wrongly typed arm_dma_limit
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 5 Jul 2012 12:11:31 +0000 (13:11 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 5 Jul 2012 12:11:31 +0000 (13:11 +0100)
commit09b2ad13da3ac7c717dd86bfca7072d9b36f7449
treea526cf0f082a40a7f9b9a784136afb1eb8e85385
parentb89d607b590397c04b63d94a9e2fca9649917955
ARM: fix warning caused by wrongly typed arm_dma_limit

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

by fixing the typecast in its definition when DMA_ZONE is disabled.
This was missed in 4986e5c7c (ARM: mm: fix type of the arm_dma_limit
global variable).

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/mm.h