diff options
author | Fabio Estevam <festevam@gmail.com> | 2011-11-09 19:13:43 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-11-09 21:53:36 +0000 |
commit | 1a1f2be2a4d7f6f538169dca534c94b221b21923 (patch) | |
tree | c9ba32e12848b927c5f9d8a9269f58378f917fbd /arch/arm/boot/dts/tegra-seaboard.dts | |
parent | 5fc86281b9eba5eb9cfab999bcb00deb335da762 (diff) |
ARM: 7155/1: arch.h: Declare 'pt_regs' locally
Fix the following warning when building imx_v4_v5_defconfig target:
CC arch/arm/mach-imx/mach-imx27ipcam.o
In file included from arch/arm/mach-imx/mach-imx27ipcam.c:18:
/home/fabio/linus/linux-2.6/arch/arm/include/asm/mach/arch.h:47: warning: 'struct pt_regs' declared inside parameter list
/home/fabio/linus/linux-2.6/arch/arm/include/asm/mach/arch.h:47: warning: its scope is only this definition or declaration, which is probably not what you want
arch/arm/mach-imx/mach-imx27ipcam.c:78: warning: initialization from incompatible pointer type
Declare 'struct pt_regs' locally.
Cc: Eric Miao <eric.miao@canonical.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/boot/dts/tegra-seaboard.dts')
0 files changed, 0 insertions, 0 deletions