lkml.org 
[lkml]   [2004]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [PATCH] PnP Updates for 2.6.4-mm2
    [PNP] remove __init from system.c

    This patch is from "Randy.Dunlap" <rddunlap@osdl.org>

    // Linux 2.6.4-rc2
    // These 2 functions shouldn't be __init for general PNP use.

    diffstat:=
    drivers/pnp/system.c | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)


    diff -Naurp ./drivers/pnp/system.c~pnp_init ./drivers/pnp/system.c
    --- ./drivers/pnp/system.c~pnp_init 2004-02-17 19:59:59.000000000 -0800
    +++ ./drivers/pnp/system.c 2004-03-07 15:14:30.000000000 -0800
    @@ -21,7 +21,7 @@ static const struct pnp_device_id pnp_de
    { "", 0 }
    };

    -static void __init reserve_ioport_range(char *pnpid, int start, int end)
    +static void reserve_ioport_range(char *pnpid, int start, int end)
    {
    struct resource *res;
    char *regionid;
    @@ -49,7 +49,7 @@ static void __init reserve_ioport_range(
    return;
    }

    -static void __init reserve_resources_of_dev( struct pnp_dev *dev )
    +static void reserve_resources_of_dev( struct pnp_dev *dev )
    {
    int i;


    -
    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: 2005-03-22 14:01    [W:0.019 / U:0.616 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site