summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-f5d8235-v1.c
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-11 15:11:41 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-11 15:11:41 +0000
commit2a62a21658e63c939a91de4bd7cf9c28251efe1e (patch)
treeb859cb69c21f71d186d04e053c895216a53c0517 /target/linux/ramips/files/arch/mips/ralink/rt288x/mach-f5d8235-v1.c
parent21cf4e76e077a0385c66f118334d78fa5632e5fa (diff)
ramips: rt288x: remove CONFIG_MTD_PARTITION ifdefery from machine files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30436 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/rt288x/mach-f5d8235-v1.c')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt288x/mach-f5d8235-v1.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-f5d8235-v1.c b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-f5d8235-v1.c
index db45cc87f..71c84c146 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-f5d8235-v1.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-f5d8235-v1.c
@@ -37,7 +37,6 @@
#define F5D8235_BUTTONS_POLL_INTERVAL 20
-#ifdef CONFIG_MTD_PARTITIONS
static struct mtd_partition f5d8235_partitions[] = {
{
.name = "uboot",
@@ -62,13 +61,10 @@ static struct mtd_partition f5d8235_partitions[] = {
.size = 0x010000,
}
};
-#endif /* CONFIG_MTD_PARTITIONS */
static struct physmap_flash_data f5d8235_flash_data = {
-#ifdef CONFIG_MTD_PARTITIONS
.nr_parts = ARRAY_SIZE(f5d8235_partitions),
.parts = f5d8235_partitions,
-#endif
};
static struct rtl8366_platform_data f5d8235_rtl8366s_data = {