Commit 09b0e276 authored by Bryan Thompson's avatar Bryan Thompson Committed by Greg Kroah-Hartman

staging: unisys: virtpci: Fix CamelCase Chipset_DriverInfo

Rename Chipset_DriverInfo to chipset_driver_info in virtpci.c
Signed-off-by: default avatarBryan Thompson <bryan.thompson@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 10c295a1
...@@ -138,7 +138,7 @@ static struct device virtpci_rootbus_device = { ...@@ -138,7 +138,7 @@ static struct device virtpci_rootbus_device = {
}; };
/* filled in with info about parent chipset driver when we register with it */ /* filled in with info about parent chipset driver when we register with it */
static struct ultra_vbus_deviceinfo Chipset_DriverInfo; static struct ultra_vbus_deviceinfo chipset_driver_info;
static const struct sysfs_ops virtpci_driver_sysfs_ops = { static const struct sysfs_ops virtpci_driver_sysfs_ops = {
.show = virtpci_driver_attr_show, .show = virtpci_driver_attr_show,
...@@ -280,7 +280,7 @@ static int add_vbus(struct add_vbus_guestpart *addparams) ...@@ -280,7 +280,7 @@ static int add_vbus(struct add_vbus_guestpart *addparams)
return 0; return 0;
} }
write_vbus_chpInfo(vbus->platform_data /* chanptr */ , write_vbus_chpInfo(vbus->platform_data /* chanptr */ ,
&Chipset_DriverInfo); &chipset_driver_info);
write_vbus_busInfo(vbus->platform_data /* chanptr */ , &Bus_DriverInfo); write_vbus_busInfo(vbus->platform_data /* chanptr */ , &Bus_DriverInfo);
LOGINF("Added vbus %d; device %s created successfully\n", LOGINF("Added vbus %d; device %s created successfully\n",
addparams->bus_no, BUS_ID(vbus)); addparams->bus_no, BUS_ID(vbus));
...@@ -801,7 +801,7 @@ static void fix_vbus_devInfo(struct device *dev, int devNo, int devType, ...@@ -801,7 +801,7 @@ static void fix_vbus_devInfo(struct device *dev, int devNo, int devType,
/* Re-write bus+chipset info, because it is possible that this /* Re-write bus+chipset info, because it is possible that this
* was previously written by our good counterpart, visorbus. * was previously written by our good counterpart, visorbus.
*/ */
write_vbus_chpInfo(pChan, &Chipset_DriverInfo); write_vbus_chpInfo(pChan, &chipset_driver_info);
write_vbus_busInfo(pChan, &Bus_DriverInfo); write_vbus_busInfo(pChan, &Bus_DriverInfo);
} }
...@@ -1536,7 +1536,7 @@ static int __init virtpci_mod_init(void) ...@@ -1536,7 +1536,7 @@ static int __init virtpci_mod_init(void)
DBGINF("device_register successful ret:%x\n", ret); DBGINF("device_register successful ret:%x\n", ret);
if (!uisctrl_register_req_handler(2, (void *)&virtpci_ctrlchan_func, if (!uisctrl_register_req_handler(2, (void *)&virtpci_ctrlchan_func,
&Chipset_DriverInfo)) { &chipset_driver_info)) {
LOGERR("uisctrl_register_req_handler ****FAILED.\n"); LOGERR("uisctrl_register_req_handler ****FAILED.\n");
POSTCODE_LINUX_2(VPCI_CREATE_FAILURE_PC, POSTCODE_SEVERITY_ERR); POSTCODE_LINUX_2(VPCI_CREATE_FAILURE_PC, POSTCODE_SEVERITY_ERR);
device_unregister(&virtpci_rootbus_device); device_unregister(&virtpci_rootbus_device);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment