aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorBryan Thompson <bryan.thompson@unisys.com>2014-11-03 19:21:09 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-04 00:03:38 (GMT)
commitceddd0b31949a59ff4faf2c154430833765ab9a8 (patch)
treed7383b6362142df4557b7068f51cec356ecf5cb9 /drivers/staging/unisys
parentd13b23b8c933902c58559df6e4eb541135959e4a (diff)
staging: unisys: virtpci: Fix CamelCase parameters of fix_vbus_dev_info()
Rename the following fix_vbus_dev_info() parameters devNo changed to dev_no devType changed to dev_type Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r--drivers/staging/unisys/virtpci/virtpci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/unisys/virtpci/virtpci.c b/drivers/staging/unisys/virtpci/virtpci.c
index b4eaca2..80be233 100644
--- a/drivers/staging/unisys/virtpci/virtpci.c
+++ b/drivers/staging/unisys/virtpci/virtpci.c
@@ -756,7 +756,7 @@ static int virtpci_device_resume(struct device *dev)
* the appropriate slot within the vbus channel of the bus
* instance.
*/
-static void fix_vbus_dev_info(struct device *dev, int devNo, int devType,
+static void fix_vbus_dev_info(struct device *dev, int dev_no, int dev_type,
struct virtpci_driver *virtpcidrv)
{
struct device *vbus;
@@ -782,7 +782,7 @@ static void fix_vbus_dev_info(struct device *dev, int devNo, int devType,
LOGERR("%s dev bus has no channel", __func__);
return;
}
- switch (devType) {
+ switch (dev_type) {
case PCI_DEVICE_ID_VIRTHBA:
stype = "vHBA";
break;
@@ -797,7 +797,7 @@ static void fix_vbus_dev_info(struct device *dev, int devNo, int devType,
virtpcidrv->name,
virtpcidrv->version,
virtpcidrv->vertag);
- write_vbus_dev_info(pChan, &devInfo, devNo);
+ write_vbus_dev_info(pChan, &devInfo, dev_no);
/* Re-write bus+chipset info, because it is possible that this
* was previously written by our good counterpart, visorbus.

Privacy Policy