lkml.org 
[lkml]   [2007]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 8/21] Char: cyclades, mark cyy_init_card as __devinit, not __init
    From
    Date
    cyclades, mark cyy_init_card as __devinit, not __init

    Signed-off-by: Jiri Slaby <jirislaby@gmail.com>

    ---
    commit 289b6204e150db7f487f53c227318b950b29d863
    tree 5772496b7ff3f5c7daa36f507d3f8012d5fa4023
    parent af4b7e8923a0ea9ca7427667977500484a3ca661
    author Jiri Slaby <jirislaby@gmail.com> Wed, 25 Apr 2007 20:46:40 +0200
    committer Jiri Slaby <jirislaby@gmail.com> Sat, 28 Apr 2007 23:47:04 +0200

    drivers/char/cyclades.c | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c
    index 7a15300..738903d 100644
    --- a/drivers/char/cyclades.c
    +++ b/drivers/char/cyclades.c
    @@ -4651,8 +4651,8 @@ static void __devinit cy_init_card(struct cyclades_card *cinfo,

    /* initialize chips on Cyclom-Y card -- return number of valid
    chips (which is number of ports/4) */
    -static unsigned short __init
    -cyy_init_card(void __iomem * true_base_addr, int index)
    +static unsigned short __devinit cyy_init_card(void __iomem *true_base_addr,
    + int index)
    {
    unsigned int chip_number;
    void __iomem *base_addr;
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2007-04-29 23:01    [W:0.023 / U:32.332 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site