lkml.org 
[lkml]   [2007]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 3/9] cio: css_sch_device_register() can be made static.
    From: Cornelia Huck <cornelia.huck@de.ibm.com>

    Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
    Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
    ---

    drivers/s390/cio/css.c | 2 +-
    drivers/s390/cio/css.h | 1 -
    2 files changed, 1 insertion(+), 2 deletions(-)

    Index: quilt-2.6/drivers/s390/cio/css.c
    ===================================================================
    --- quilt-2.6.orig/drivers/s390/cio/css.c
    +++ quilt-2.6/drivers/s390/cio/css.c
    @@ -109,7 +109,7 @@ css_subchannel_release(struct device *de
    }
    }

    -int css_sch_device_register(struct subchannel *sch)
    +static int css_sch_device_register(struct subchannel *sch)
    {
    int ret;

    Index: quilt-2.6/drivers/s390/cio/css.h
    ===================================================================
    --- quilt-2.6.orig/drivers/s390/cio/css.h
    +++ quilt-2.6/drivers/s390/cio/css.h
    @@ -139,7 +139,6 @@ struct css_driver {
    */
    extern struct bus_type css_bus_type;

    -extern int css_sch_device_register(struct subchannel *);
    extern void css_sch_device_unregister(struct subchannel *);
    extern struct subchannel * get_subchannel_by_schid(struct subchannel_id);
    extern int css_init_done;
    --
    blue skies,
    Martin.

    "Reality continues to ruin my life." - Calvin.

    -
    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-07-23 10:57    [W:0.022 / U:0.396 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site