Changeset 30436


Ignore:
Timestamp:
2012-02-11T16:11:41+01:00 (6 years ago)
Author:
juhosg
Message:

ramips: rt288x: remove CONFIG_MTD_PARTITION ifdefery from machine files

Location:
trunk/target/linux/ramips/files/arch/mips/ralink/rt288x
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-f5d8235-v1.c

    r29871 r30436  
    3838#define F5D8235_BUTTONS_POLL_INTERVAL   20 
    3939 
    40 #ifdef CONFIG_MTD_PARTITIONS 
    4140static struct mtd_partition f5d8235_partitions[] = { 
    4241        { 
     
    6362        } 
    6463}; 
    65 #endif /* CONFIG_MTD_PARTITIONS */ 
    6664 
    6765static struct physmap_flash_data f5d8235_flash_data = { 
    68 #ifdef CONFIG_MTD_PARTITIONS 
    6966        .nr_parts       = ARRAY_SIZE(f5d8235_partitions), 
    7067        .parts          = f5d8235_partitions, 
    71 #endif 
    7268}; 
    7369 
  • trunk/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c

    r29381 r30436  
    3535#define RT_N15_BUTTONS_POLL_INTERVAL    20 
    3636 
    37 #ifdef CONFIG_MTD_PARTITIONS 
    3837static struct mtd_partition rt_n15_partitions[] = { 
    3938        { 
     
    6665        } 
    6766}; 
    68 #endif /* CONFIG_MTD_PARTITIONS */ 
    6967 
    7068static struct physmap_flash_data rt_n15_flash_data = { 
    71 #ifdef CONFIG_MTD_PARTITIONS 
    7269        .nr_parts       = ARRAY_SIZE(rt_n15_partitions), 
    7370        .parts          = rt_n15_partitions, 
    74 #endif 
    7571}; 
    7672 
  • trunk/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-wli-tx4-ag300n.c

    r29612 r30436  
    3535#define WLI_TX4_AG300N_BUTTONS_POLL_INTERVAL    20 
    3636 
    37 #ifdef CONFIG_MTD_PARTITIONS 
    3837static struct mtd_partition wli_tx4_ag300n_partitions[] = { 
    3938        { 
     
    7675        }, 
    7776}; 
    78 #endif /* CONFIG_MTD_PARTITIONS */ 
    7977 
    8078static struct physmap_flash_data wli_tx4_ag300n_flash_data = { 
    81 #ifdef CONFIG_MTD_PARTITIONS 
    8279        .nr_parts       = ARRAY_SIZE(wli_tx4_ag300n_partitions), 
    8380        .parts          = wli_tx4_ag300n_partitions, 
    84 #endif 
    8581}; 
    8682 
  • trunk/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-wzr-agl300nh.c

    r25130 r30436  
    3131 */ 
    3232 
    33 #ifdef CONFIG_MTD_PARTITIONS 
    3433static struct mtd_partition wzr_agl300nh_partitions[] = { 
    3534        { 
     
    6261        } 
    6362}; 
    64 #endif /* CONFIG_MTD_PARTITIONS */ 
    6563 
    6664static struct physmap_flash_data wzr_agl300nh_flash_data = { 
    67 #ifdef CONFIG_MTD_PARTITIONS 
    6865        .nr_parts       = ARRAY_SIZE(wzr_agl300nh_partitions), 
    6966        .parts          = wzr_agl300nh_partitions, 
    70 #endif 
    7167}; 
    7268 
Note: See TracChangeset for help on using the changeset viewer.