]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: unisys: Fix CamelCase in uislib_client_inject_resume_vhba()
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 3 Oct 2014 18:09:03 +0000 (14:09 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:05 +0000 (10:29 +0800)
Fix CamelCase names:
busNo => bus_no
devNo => dev_no

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/uisutils.h
drivers/staging/unisys/uislib/uislib.c

index 27dc876d03164b961b30ae091262613328fdbd83..408dca2d9d30752e06f634e7e06a6aa310da9fcb 100644 (file)
@@ -141,7 +141,7 @@ int uislib_client_inject_add_vhba(u32 bus_no, u32 dev_no,
                                  int is_test_addr, uuid_le inst_uuid,
                                  struct InterruptInfo *intr);
 int  uislib_client_inject_pause_vhba(u32 bus_no, u32 dev_no);
-int  uislib_client_inject_resume_vhba(u32 busNo, u32 devNo);
+int  uislib_client_inject_resume_vhba(u32 bus_no, u32 dev_no);
 int uislib_client_inject_del_vhba(u32 busNo, u32 devNo);
 int uislib_client_inject_add_vnic(u32 busNo, u32 devNo,
                                  u64 phys_chan_addr, u32 chan_bytes,
index 132126944acf2e9e853288c8128b05ec9435c1a5..96e38bfcc1f8ce1b4578f2c51121077b15023335 100644 (file)
@@ -901,19 +901,19 @@ uislib_client_inject_pause_vhba(u32 bus_no, u32 dev_no)
 EXPORT_SYMBOL_GPL(uislib_client_inject_pause_vhba);
 
 int
-uislib_client_inject_resume_vhba(u32 busNo, u32 devNo)
+uislib_client_inject_resume_vhba(u32 bus_no, u32 dev_no)
 {
        CONTROLVM_MESSAGE msg;
        int rc;
 
        init_msg_header(&msg, CONTROLVM_DEVICE_CHANGESTATE, 0, 0);
-       msg.cmd.deviceChangeState.busNo = busNo;
-       msg.cmd.deviceChangeState.devNo = devNo;
+       msg.cmd.deviceChangeState.busNo = bus_no;
+       msg.cmd.deviceChangeState.devNo = dev_no;
        msg.cmd.deviceChangeState.state = SegmentStateRunning;
        rc = resume_device(&msg);
        if (rc != CONTROLVM_RESP_SUCCESS) {
                LOGERR("VHBA resume_device failed. busNo=0x%x devNo=0x%x\n",
-                      busNo, devNo);
+                      bus_no, dev_no);
                return rc;
        }
        return 0;