]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: unisys: fix CamelCase in struct del_vbus_guestpart
authorBenjamin Romer <benjamin.romer@unisys.com>
Tue, 30 Sep 2014 16:08:08 +0000 (12:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2014 16:47:28 +0000 (09:47 -0700)
Fix up CamelCase names:
busNo => bus_no

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

index fe59337a623011d35798a466051c6127512c0dde..be21c967799e9aefe53cee9e1b9c41613eea2864 100644 (file)
@@ -356,7 +356,7 @@ struct add_vbus_guestpart {
 };
 
 struct del_vbus_guestpart {
-       u32 busNo;              /* bus number to be deleted */
+       u32 bus_no;             /* bus number to be deleted */
        /* once we start using the bus's channel, add can dump busNo
        * into the channel header and then delete will need only one
        * parameter, chanptr. */
index 99b576d0f4ab8b8ff0a6bd86b7694c79113162bc..91d55055e93aa82f64c9854dfaee8c442e5339e3 100644 (file)
@@ -315,7 +315,7 @@ destroy_bus(CONTROLVM_MESSAGE *msg, char *buf)
        /* client messages require us to call the virtpci callback associated
           with this bus. */
        cmd.msgtype = GUEST_DEL_VBUS;
-       cmd.del_vbus.busNo = busNo;
+       cmd.del_vbus.bus_no = busNo;
        if (!VirtControlChanFunc) {
                LOGERR("CONTROLVM_BUS_DESTROY Failed: virtpci callback not registered.");
                return CONTROLVM_RESP_ERROR_VIRTPCI_DRIVER_FAILURE;
index 2e30ac5d25df5e9ca443ee6907e067f389f116d1..546be94a956e0bbfd3daa149850d79743e7a97d0 100644 (file)
@@ -417,12 +417,12 @@ delete_vbus(struct del_vbus_guestpart *delparams)
        struct device *vbus;
        unsigned char busid[BUS_ID_SIZE];
 
-       GET_BUS_DEV(delparams->busNo);
+       GET_BUS_DEV(delparams->bus_no);
        /* ensure that bus has no devices? -- TBD */
        LOGINF("Deleting %s\n", BUS_ID(vbus));
        if (delete_vbus_device(vbus, NULL))
                return 0;       /* failure */
-       LOGINF("Deleted vbus %d\n", delparams->busNo);
+       LOGINF("Deleted vbus %d\n", delparams->bus_no);
        return 1;
 }
 
@@ -620,7 +620,7 @@ static int delete_all_virt(VIRTPCI_DEV_TYPE devtype, struct del_vbus_guestpart *
        unsigned char busid[BUS_ID_SIZE];
        struct device *vbus;
 
-       GET_BUS_DEV(delparams->busNo);
+       GET_BUS_DEV(delparams->bus_no);
 
        if ((devtype != VIRTHBA_TYPE) && (devtype != VIRTNIC_TYPE)) {
                LOGERR("**** FAILED to delete all devices; devtype:%d not vhba:%d or vnic:%d\n",