lkml.org 
[lkml]   [2009]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 37/60] mips: struct device - replace bus_id with dev_name(), dev_set_name()
    Date
    From: Kay Sievers <kay.sievers@vrfy.org>

    Cc: Ralf Baechle <ralf@linux-mips.org>
    Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    ---
    arch/mips/kernel/vpe.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c
    index 010b27e..3ca5f42 100644
    --- a/arch/mips/kernel/vpe.c
    +++ b/arch/mips/kernel/vpe.c
    @@ -1454,7 +1454,7 @@ static int __init vpe_module_init(void)
    device_initialize(&vpe_device);
    vpe_device.class = &vpe_class,
    vpe_device.parent = NULL,
    - strlcpy(vpe_device.bus_id, "vpe1", BUS_ID_SIZE);
    + dev_set_name(&vpe_device, "vpe1");
    vpe_device.devt = MKDEV(major, minor);
    err = device_add(&vpe_device);
    if (err) {
    --
    1.6.0.4


    \
     
     \ /
      Last update: 2009-01-06 23:31    [W:0.018 / U:0.540 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site