diff options
author | Olof Johansson <olof@lixom.net> | 2013-11-12 22:51:28 -0800 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-11-25 13:34:48 -0800 |
commit | 6dd1e357372c21ec37b6902380bd47b278d168f1 (patch) | |
tree | df7dfc2e00cb6e6399e329394d31f70db375e025 /drivers/gpio | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) | |
download | linux-6dd1e357372c21ec37b6902380bd47b278d168f1.tar.bz2 |
ARM: omap: fix warning with LPAE build
Some omap3 code is throwing a warning:
arch/arm/mach-omap2/pm34xx.c: In function 'omap3_save_secure_ram_context':
arch/arm/mach-omap2/pm34xx.c:123:32: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
In reality this code will never actually execute with LPAE=y, since
Cortex-A8 doesn't support it. So downcasting the __pa() is safe in
this case.
Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions