lkml.org 
[lkml]   [2008]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 09/20] [MTD] Make ipaq_mtd_init function static
    Date
    The symbol ipaq_mtd_init is not used anywhere outside of
    drivers/mtd/maps/ipaq-flash.c, so make it static.

    Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
    ---
    drivers/mtd/maps/ipaq-flash.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/mtd/maps/ipaq-flash.c b/drivers/mtd/maps/ipaq-flash.c
    index ed58f6a..748c85f 100644
    --- a/drivers/mtd/maps/ipaq-flash.c
    +++ b/drivers/mtd/maps/ipaq-flash.c
    @@ -202,7 +202,7 @@ static const char *part_probes[] = { "cmdlinepart", "RedBoot", NULL };

    static int __init h1900_special_case(void);

    -int __init ipaq_mtd_init(void)
    +static int __init ipaq_mtd_init(void)
    {
    struct mtd_partition *parts = NULL;
    int nb_parts = 0;
    --
    1.5.3


    \
     
     \ /
      Last update: 2008-11-25 02:05    [W:0.047 / U:90.068 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site