Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[ARM] 3235/1: SharpSL PM: Fix a gcc4 build error

Patch from Richard Purdie

Fix a gcc4 build error (incomplete element type) in the pxa SharpSL
PM code.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Richard Purdie and committed by
Russell King
2c041f4b f99c8929

+1 -3
-1
arch/arm/mach-pxa/corgi_pm.c
··· 21 21 #include <asm/mach-types.h> 22 22 #include <asm/hardware.h> 23 23 #include <asm/hardware/scoop.h> 24 - #include <asm/hardware/sharpsl_pm.h> 25 24 26 25 #include <asm/arch/sharpsl.h> 27 26 #include <asm/arch/corgi.h>
+1
arch/arm/mach-pxa/sharpsl.h
··· 7 7 * 8 8 */ 9 9 10 + #include <asm/hardware/sharpsl_pm.h> 10 11 11 12 /* 12 13 * SharpSL SSP Driver
-1
arch/arm/mach-pxa/sharpsl_pm.c
··· 27 27 #include <asm/arch/pm.h> 28 28 #include <asm/arch/pxa-regs.h> 29 29 #include <asm/arch/sharpsl.h> 30 - #include <asm/hardware/sharpsl_pm.h> 31 30 #include "sharpsl.h" 32 31 33 32 struct battery_thresh spitz_battery_levels_acin[] = {
-1
arch/arm/mach-pxa/spitz_pm.c
··· 21 21 #include <asm/mach-types.h> 22 22 #include <asm/hardware.h> 23 23 #include <asm/hardware/scoop.h> 24 - #include <asm/hardware/sharpsl_pm.h> 25 24 26 25 #include <asm/arch/sharpsl.h> 27 26 #include <asm/arch/spitz.h>