summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/t5325-setup.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2012-10-20 13:23:15 +0200
committerJason Cooper <jason@lakedaemon.net>2012-11-19 03:53:46 +0000
commitd1c925b22141b841060d8c1e3a9f9949a77cdc05 (patch)
tree310b60c09b62503cc9f2a760b47d9cd08ed15053 /arch/arm/mach-kirkwood/t5325-setup.c
parent3ba09114a1cdca78e4578328ebc2fb6e910fe066 (diff)
ARM: Kirkwood: Fix sparse warnings.
Mostly missing statics, but also missing include files and void parameters. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/t5325-setup.c')
-rw-r--r--arch/arm/mach-kirkwood/t5325-setup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-kirkwood/t5325-setup.c b/arch/arm/mach-kirkwood/t5325-setup.c
index bad738e4404..f2daf711e72 100644
--- a/arch/arm/mach-kirkwood/t5325-setup.c
+++ b/arch/arm/mach-kirkwood/t5325-setup.c
@@ -29,7 +29,7 @@
#include "common.h"
#include "mpp.h"
-struct mtd_partition hp_t5325_partitions[] = {
+static struct mtd_partition hp_t5325_partitions[] = {
{
.name = "u-boot env",
.size = SZ_64K,
@@ -59,14 +59,14 @@ struct mtd_partition hp_t5325_partitions[] = {
},
};
-const struct flash_platform_data hp_t5325_flash = {
+static const struct flash_platform_data hp_t5325_flash = {
.type = "mx25l8005",
.name = "spi_flash",
.parts = hp_t5325_partitions,
.nr_parts = ARRAY_SIZE(hp_t5325_partitions),
};
-struct spi_board_info __initdata hp_t5325_spi_slave_info[] = {
+static struct spi_board_info __initdata hp_t5325_spi_slave_info[] = {
{
.modalias = "m25p80",
.platform_data = &hp_t5325_flash,