lkml.org 
[lkml]   [2011]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 11/77] Staging: hv: netvsc: Use the newly introduced vmbus ID in netvsc driver
    Date
    Setup the newly introduced id_table for the netvsc driver.

    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/netvsc_drv.c | 6 ++++++
    1 files changed, 6 insertions(+), 0 deletions(-)

    diff --git a/drivers/staging/hv/netvsc_drv.c b/drivers/staging/hv/netvsc_drv.c
    index 38ca2c2..3656c0f 100644
    --- a/drivers/staging/hv/netvsc_drv.c
    +++ b/drivers/staging/hv/netvsc_drv.c
    @@ -413,8 +413,14 @@ static int netvsc_remove(struct hv_device *dev)
    return 0;
    }

    +static const struct hv_vmbus_device_id id_table[] = {
    + { "hv_net" },
    + { "" }
    +};
    +
    /* The one and only one */
    static struct hv_driver netvsc_drv = {
    + .id_table = id_table,
    .probe = netvsc_probe,
    .remove = netvsc_remove,
    };
    --
    1.7.4.1


    \
     
     \ /
      Last update: 2011-06-16 22:05    [W:0.021 / U:90.208 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site