lkml.org 
[lkml]   [2011]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 08/16] Staging: hv: Make the function stor_vsc_initialize() static
    Date
    Make the function  stor_vsc_initialize() a  static function.

    Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
    Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
    Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
    ---
    drivers/staging/hv/storvsc_api.h | 1 -
    drivers/staging/hv/storvsc_drv.c | 2 +-
    2 files changed, 1 insertions(+), 2 deletions(-)

    diff --git a/drivers/staging/hv/storvsc_api.h b/drivers/staging/hv/storvsc_api.h
    index 141b8fd..9a452f2 100644
    --- a/drivers/staging/hv/storvsc_api.h
    +++ b/drivers/staging/hv/storvsc_api.h
    @@ -138,7 +138,6 @@ struct storvsc_device {
    };

    /* Interface */
    -int stor_vsc_initialize(struct hv_driver *driver);
    int stor_vsc_on_host_reset(struct hv_device *device);
    int blk_vsc_initialize(struct hv_driver *driver);

    diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c
    index 5ea09da..af6a37d 100644
    --- a/drivers/staging/hv/storvsc_drv.c
    +++ b/drivers/staging/hv/storvsc_drv.c
    @@ -77,7 +77,7 @@ struct storvsc_cmd_request {
    /*
    * stor_vsc_initialize - Main entry point
    */
    -int stor_vsc_initialize(struct hv_driver *driver)
    +static int stor_vsc_initialize(struct hv_driver *driver)
    {
    struct storvsc_driver_object *stor_driver;

    --
    1.7.4.1


    \
     
     \ /
      Last update: 2011-03-23 18:43    [W:0.022 / U:5.128 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site