aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/netlogic/xlr/platform-flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/netlogic/xlr/platform-flash.c')
-rw-r--r--arch/mips/netlogic/xlr/platform-flash.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/netlogic/xlr/platform-flash.c b/arch/mips/netlogic/xlr/platform-flash.c
index 340ab1601c42..6d3c727e0ef8 100644
--- a/arch/mips/netlogic/xlr/platform-flash.c
+++ b/arch/mips/netlogic/xlr/platform-flash.c
@@ -36,7 +36,7 @@ static struct mtd_partition xlr_nor_parts[] = {
36 { 36 {
37 .name = "User FS", 37 .name = "User FS",
38 .offset = 0x800000, 38 .offset = 0x800000,
39 .size = MTDPART_SIZ_FULL, 39 .size = MTDPART_SIZ_FULL,
40 } 40 }
41}; 41};
42 42
@@ -46,13 +46,13 @@ static struct mtd_partition xlr_nor_parts[] = {
46static struct mtd_partition xlr_nand_parts[] = { 46static struct mtd_partition xlr_nand_parts[] = {
47 { 47 {
48 .name = "Root Filesystem", 48 .name = "Root Filesystem",
49 .offset = 64 * 64 * 2048, 49 .offset = 64 * 64 * 2048,
50 .size = 432 * 64 * 2048, 50 .size = 432 * 64 * 2048,
51 }, 51 },
52 { 52 {
53 .name = "Home Filesystem", 53 .name = "Home Filesystem",
54 .offset = MTDPART_OFS_APPEND, 54 .offset = MTDPART_OFS_APPEND,
55 .size = MTDPART_SIZ_FULL, 55 .size = MTDPART_SIZ_FULL,
56 }, 56 },
57}; 57};
58 58
@@ -74,8 +74,8 @@ static struct platform_device xlr_nor_dev = {
74 .dev = { 74 .dev = {
75 .platform_data = &xlr_nor_data, 75 .platform_data = &xlr_nor_data,
76 }, 76 },
77 .num_resources = ARRAY_SIZE(xlr_nor_res), 77 .num_resources = ARRAY_SIZE(xlr_nor_res),
78 .resource = xlr_nor_res, 78 .resource = xlr_nor_res,
79}; 79};
80 80
81const char *xlr_part_probes[] = { "cmdlinepart", NULL }; 81const char *xlr_part_probes[] = { "cmdlinepart", NULL };