Browse Source

[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>
Richard Purdie 19 years ago
parent
commit
2c041f4b9b

+ 0 - 1
arch/arm/mach-pxa/corgi_pm.c

@@ -21,7 +21,6 @@
 #include <asm/mach-types.h>
 #include <asm/mach-types.h>
 #include <asm/hardware.h>
 #include <asm/hardware.h>
 #include <asm/hardware/scoop.h>
 #include <asm/hardware/scoop.h>
-#include <asm/hardware/sharpsl_pm.h>
 
 
 #include <asm/arch/sharpsl.h>
 #include <asm/arch/sharpsl.h>
 #include <asm/arch/corgi.h>
 #include <asm/arch/corgi.h>

+ 1 - 0
arch/arm/mach-pxa/sharpsl.h

@@ -7,6 +7,7 @@
  *
  *
  */
  */
 
 
+#include <asm/hardware/sharpsl_pm.h>
 
 
 /*
 /*
  * SharpSL SSP Driver
  * SharpSL SSP Driver

+ 0 - 1
arch/arm/mach-pxa/sharpsl_pm.c

@@ -27,7 +27,6 @@
 #include <asm/arch/pm.h>
 #include <asm/arch/pm.h>
 #include <asm/arch/pxa-regs.h>
 #include <asm/arch/pxa-regs.h>
 #include <asm/arch/sharpsl.h>
 #include <asm/arch/sharpsl.h>
-#include <asm/hardware/sharpsl_pm.h>
 #include "sharpsl.h"
 #include "sharpsl.h"
 
 
 struct battery_thresh spitz_battery_levels_acin[] = {
 struct battery_thresh spitz_battery_levels_acin[] = {

+ 0 - 1
arch/arm/mach-pxa/spitz_pm.c

@@ -21,7 +21,6 @@
 #include <asm/mach-types.h>
 #include <asm/mach-types.h>
 #include <asm/hardware.h>
 #include <asm/hardware.h>
 #include <asm/hardware/scoop.h>
 #include <asm/hardware/scoop.h>
-#include <asm/hardware/sharpsl_pm.h>
 
 
 #include <asm/arch/sharpsl.h>
 #include <asm/arch/sharpsl.h>
 #include <asm/arch/spitz.h>
 #include <asm/arch/spitz.h>