ARM: S3C64XX: Fix dev-spi build
Subsystems (3)
PATCH 1/2 ARM: S3C64XX: Fix dev-spi build
The irqs.h usage here got missed in the Samsung platform reorganisation.
Signed-off-by Mark Brown <[email protected]>
--- arch/arm/mach-s3c64xx/dev-spi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-s3c64xx/dev-spi.c +1 -1
@@ -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
PATCH 2/2 ARM: S3C64XX: Prototype SPI devices
Avoids build warnings due to the undeclared non-statics.
Signed-off-by Mark Brown <[email protected]>
--- arch/arm/mach-s3c64xx/dev-spi.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-s3c64xx/dev-spi.c +1 -0
@@ -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
PATCH 1/2 ARM: S3C64XX: Fix dev-spi build
In reply to Mark BrownQuoted 17 lines · Mark Brown
The
irqs.husage here got missed in the Samsung platform reorganisation.Signed-off-by Mark Brown <[email protected]>---
?arch/arm/mach-s3c64xx/dev-spi.c | ? ?2 +-
?1 files changed, 1 insertions(+), 1 deletions(-)arch/arm/mach-s3c64xx/dev-spi.c +0
-0@@ -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,
Acked-by Jassi Brar <[email protected]>