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

staging: unisys: virtpci: Fix CamelCase vbus driver info variable

Rename BusDriverInfo variable to bus_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 4ecd8281
...@@ -153,7 +153,7 @@ static struct virtpci_dev *vpcidev_list_head; ...@@ -153,7 +153,7 @@ static struct virtpci_dev *vpcidev_list_head;
static DEFINE_RWLOCK(vpcidev_list_lock); static DEFINE_RWLOCK(vpcidev_list_lock);
/* filled in with info about this driver, wrt it servicing client busses */ /* filled in with info about this driver, wrt it servicing client busses */
static struct ultra_vbus_deviceinfo Bus_DriverInfo; static struct ultra_vbus_deviceinfo bus_driver_info;
/*****************************************************/ /*****************************************************/
/* debugfs entries */ /* debugfs entries */
...@@ -281,7 +281,8 @@ static int add_vbus(struct add_vbus_guestpart *addparams) ...@@ -281,7 +281,8 @@ static int add_vbus(struct add_vbus_guestpart *addparams)
} }
write_vbus_chpInfo(vbus->platform_data /* chanptr */ , write_vbus_chpInfo(vbus->platform_data /* chanptr */ ,
&chipset_driver_info); &chipset_driver_info);
write_vbus_busInfo(vbus->platform_data /* chanptr */ , &Bus_DriverInfo); write_vbus_busInfo(vbus->platform_data /* chanptr */ ,
&bus_driver_info);
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));
POSTCODE_LINUX_2(VPCI_CREATE_EXIT_PC, POSTCODE_SEVERITY_INFO); POSTCODE_LINUX_2(VPCI_CREATE_EXIT_PC, POSTCODE_SEVERITY_INFO);
...@@ -802,7 +803,7 @@ static void fix_vbus_devInfo(struct device *dev, int devNo, int devType, ...@@ -802,7 +803,7 @@ static void fix_vbus_devInfo(struct device *dev, int devNo, int devType,
* was previously written by our good counterpart, visorbus. * was previously written by our good counterpart, visorbus.
*/ */
write_vbus_chpInfo(pChan, &chipset_driver_info); write_vbus_chpInfo(pChan, &chipset_driver_info);
write_vbus_busInfo(pChan, &Bus_DriverInfo); write_vbus_busInfo(pChan, &bus_driver_info);
} }
/* This function is called to query the existence of a specific device /* This function is called to query the existence of a specific device
...@@ -1521,7 +1522,7 @@ static int __init virtpci_mod_init(void) ...@@ -1521,7 +1522,7 @@ static int __init virtpci_mod_init(void)
return ret; return ret;
} }
DBGINF("bus_register successful\n"); DBGINF("bus_register successful\n");
bus_device_info_init(&Bus_DriverInfo, "clientbus", "virtpci", bus_device_info_init(&bus_driver_info, "clientbus", "virtpci",
VERSION, NULL); VERSION, NULL);
/* create a root bus used to parent all the virtpci buses. */ /* create a root bus used to parent all the virtpci buses. */
......
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