arm: virt_to_phys should take a volatile ptr
So users can pass in device memory pointers without provoking
warnings.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 4fd1e71 commit a0513aadb3ac06dffd09d09d968f9c1347229867
@Lucas Stach Lucas Stach authored on 24 Feb 2015
Sascha Hauer committed on 25 Feb 2015
Showing 2 changed files
View
arch/arm/cpu/mmu.c
View
arch/arm/include/asm/mmu.h