lkml.org 
[lkml]   [2011]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 18/27] Initconst section fixes for mtd
    Date
    From: Andi Kleen <ak@linux.intel.com>

    Cc: dwmw2@infradead.org
    Signed-off-by: Andi Kleen <ak@linux.intel.com>
    ---
    drivers/mtd/maps/wr_sbc82xx_flash.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/mtd/maps/wr_sbc82xx_flash.c b/drivers/mtd/maps/wr_sbc82xx_flash.c
    index 901ce96..4ded8af 100644
    --- a/drivers/mtd/maps/wr_sbc82xx_flash.c
    +++ b/drivers/mtd/maps/wr_sbc82xx_flash.c
    @@ -60,7 +60,7 @@ static struct mtd_partition bigflash_parts[] = {
    }
    };

    -static const char *part_probes[] __initdata = {"cmdlinepart", "RedBoot", NULL};
    +static const char * const part_probes[] __initconst = {"cmdlinepart", "RedBoot", NULL};

    #define init_sbc82xx_one_flash(map, br, or) \
    do { \
    --
    1.7.4.4


    \
     
     \ /
      Last update: 2011-09-15 22:13    [W:5.094 / U:0.100 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site