summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/tsx1x-common.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-11-26 01:27:27 -0800
committerOlof Johansson <olof@lixom.net>2012-11-26 01:27:31 -0800
commit61da823ab9f1e554da58f1c9f75931829582ad4f (patch)
treebb55b966f3da3de6ff0ccad70fca3dc16c35786d /arch/arm/mach-kirkwood/tsx1x-common.c
parent0dfeada90989833d0144b4df25d2b9ce3746624f (diff)
parent52cfa7e54b480661e20dfd8788a24cfcba8a0ca5 (diff)
Merge branch 'orion/dt' into next/dt
Merge in orion's cleanup branch together with the DT contents. Ideally the cleanup branch should have been the base for the DT branch to avoid these, but that was missed when first merging. So we're doing it now to reduce the amount of silly conflicts due to internal tree organization. Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/tsx1x-common.c')
-rw-r--r--arch/arm/mach-kirkwood/tsx1x-common.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mach-kirkwood/tsx1x-common.c b/arch/arm/mach-kirkwood/tsx1x-common.c
index 8943ede29b4..cec87cef76c 100644
--- a/arch/arm/mach-kirkwood/tsx1x-common.c
+++ b/arch/arm/mach-kirkwood/tsx1x-common.c
@@ -7,6 +7,7 @@
#include <linux/serial_reg.h>
#include <mach/kirkwood.h>
#include "common.h"
+#include "tsx1x-common.h"
/*
* QNAP TS-x1x Boards flash
@@ -29,7 +30,7 @@
*
***************************************************************************/
-struct mtd_partition qnap_tsx1x_partitions[] = {
+static struct mtd_partition qnap_tsx1x_partitions[] = {
{
.name = "U-Boot",
.size = 0x00080000,
@@ -58,14 +59,14 @@ struct mtd_partition qnap_tsx1x_partitions[] = {
},
};
-const struct flash_platform_data qnap_tsx1x_flash = {
+static const struct flash_platform_data qnap_tsx1x_flash = {
.type = "m25p128",
.name = "spi_flash",
.parts = qnap_tsx1x_partitions,
.nr_parts = ARRAY_SIZE(qnap_tsx1x_partitions),
};
-struct spi_board_info __initdata qnap_tsx1x_spi_slave_info[] = {
+static struct spi_board_info __initdata qnap_tsx1x_spi_slave_info[] = {
{
.modalias = "m25p80",
.platform_data = &qnap_tsx1x_flash,