diff options
Diffstat (limited to 'arch/arm/mach-kirkwood/t5325-setup.c')
-rw-r--r-- | arch/arm/mach-kirkwood/t5325-setup.c | 6 |
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 bad738e44044..f2daf711e72e 100644 --- a/arch/arm/mach-kirkwood/t5325-setup.c +++ b/arch/arm/mach-kirkwood/t5325-setup.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "common.h" | 29 | #include "common.h" |
30 | #include "mpp.h" | 30 | #include "mpp.h" |
31 | 31 | ||
32 | struct mtd_partition hp_t5325_partitions[] = { | 32 | static struct mtd_partition hp_t5325_partitions[] = { |
33 | { | 33 | { |
34 | .name = "u-boot env", | 34 | .name = "u-boot env", |
35 | .size = SZ_64K, | 35 | .size = SZ_64K, |
@@ -59,14 +59,14 @@ struct mtd_partition hp_t5325_partitions[] = { | |||
59 | }, | 59 | }, |
60 | }; | 60 | }; |
61 | 61 | ||
62 | const struct flash_platform_data hp_t5325_flash = { | 62 | static const struct flash_platform_data hp_t5325_flash = { |
63 | .type = "mx25l8005", | 63 | .type = "mx25l8005", |
64 | .name = "spi_flash", | 64 | .name = "spi_flash", |
65 | .parts = hp_t5325_partitions, | 65 | .parts = hp_t5325_partitions, |
66 | .nr_parts = ARRAY_SIZE(hp_t5325_partitions), | 66 | .nr_parts = ARRAY_SIZE(hp_t5325_partitions), |
67 | }; | 67 | }; |
68 | 68 | ||
69 | struct spi_board_info __initdata hp_t5325_spi_slave_info[] = { | 69 | static struct spi_board_info __initdata hp_t5325_spi_slave_info[] = { |
70 | { | 70 | { |
71 | .modalias = "m25p80", | 71 | .modalias = "m25p80", |
72 | .platform_data = &hp_t5325_flash, | 72 | .platform_data = &hp_t5325_flash, |