ramips: remove yet another CONFIG_MTD_PARTITION ifdef
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30462 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
0e7a5607b4
commit
1ec7090374
|
@ -93,10 +93,8 @@ static struct mtd_partition wcr150gn_partitions[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct physmap_flash_data wcr150gn_flash_data = {
|
static struct physmap_flash_data wcr150gn_flash_data = {
|
||||||
#ifdef CONFIG_MTD_PARTITIONS
|
|
||||||
.nr_parts = ARRAY_SIZE(wcr150gn_partitions),
|
.nr_parts = ARRAY_SIZE(wcr150gn_partitions),
|
||||||
.parts = wcr150gn_partitions,
|
.parts = wcr150gn_partitions,
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static void __init wcr150gn_init(void)
|
static void __init wcr150gn_init(void)
|
||||||
|
|
Loading…
Reference in New Issue