Skip to contentSkip to conversation

ARM: S3C64XX: Fix dev-spi build

PATCH New Mark Brown 2 participants 3 messages Aug 20, 2010 – Aug 21, 2010

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/2 ARM: S3C64XX: Fix dev-spi build

The irqs.h usage here got missed in the Samsung platform reorganisation.

---
 arch/arm/mach-s3c64xx/dev-spi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-s3c64xx/dev-spi.c +1 -1
index a492b98..bfa3ef7 100644
@@ -18,10 +18,10 @@
 #include <mach/map.h>
 #include <mach/gpio-bank-c.h>
 #include <mach/spi-clocks.h>
+#include <mach/irqs.h>
 
 #include <plat/s3c64xx-spi.h>
 #include <plat/gpio-cfg.h>
-#include <plat/irqs.h>
 
 static char *spi_src_clks[] = {
 	[S3C64XX_SPI_SRCCLK_PCLK] = "pclk",
Signature · 1 line
1.7.1
author
#1 lore raw

PATCH 2/2 ARM: S3C64XX: Prototype SPI devices

Avoids build warnings due to the undeclared non-statics.

---
 arch/arm/mach-s3c64xx/dev-spi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-s3c64xx/dev-spi.c +1 -0
index bfa3ef7..405e621 100644
@@ -22,6 +22,7 @@
 
 #include <plat/s3c64xx-spi.h>
 #include <plat/gpio-cfg.h>
+#include <plat/devs.h>
 
 static char *spi_src_clks[] = {
 	[S3C64XX_SPI_SRCCLK_PCLK] = "pclk",
Signature · 1 line
1.7.1
#2 lore raw

PATCH 1/2 ARM: S3C64XX: Fix dev-spi build

In reply to Mark Brown
Quoted 17 lines · Mark Brown

The irqs.h usage here got missed in the Samsung platform reorganisation.

---
?arch/arm/mach-s3c64xx/dev-spi.c | ? ?2 +-
?1 files changed, 1 insertions(+), 1 deletions(-)

arch/arm/mach-s3c64xx/dev-spi.c +0 -0
index a492b98..bfa3ef7 100644
@@ -18,10 +18,10 @@

?#include <mach/map.h>
?#include <mach/gpio-bank-c.h>
?#include <mach/spi-clocks.h>
+#include <mach/irqs.h>

Quoted 6 lines

?#include <plat/s3c64xx-spi.h>
?#include <plat/gpio-cfg.h>
-#include <plat/irqs.h>

?static char *spi_src_clks[] = {
? ? ? ?[S3C64XX_SPI_SRCCLK_PCLK] = "pclk",

If it's not already in some tree,