mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ramips: remove yet another CONFIG_MTD_PARTITION ifdef
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30462 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user