mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
qdev: prepare source tree for code conversion
These are various small stylistic changes which help make things more consistent such that the automated conversion script can be simpler. It's not necessary to agree or disagree with these style changes because all of this code is going to be rewritten by the patch monkey script anyway. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
3dde52d2fe
commit
e855761ca8
15 changed files with 304 additions and 312 deletions
|
@ -947,7 +947,7 @@ static int spapr_vscsi_devnode(VIOsPAPRDevice *dev, void *fdt, int node_off)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static VIOsPAPRDeviceInfo spapr_vscsi = {
|
||||
static VIOsPAPRDeviceInfo spapr_vscsi_info = {
|
||||
.init = spapr_vscsi_init,
|
||||
.devnode = spapr_vscsi_devnode,
|
||||
.dt_name = "v-scsi",
|
||||
|
@ -964,6 +964,6 @@ static VIOsPAPRDeviceInfo spapr_vscsi = {
|
|||
|
||||
static void spapr_vscsi_register(void)
|
||||
{
|
||||
spapr_vio_bus_register_withprop(&spapr_vscsi);
|
||||
spapr_vio_bus_register_withprop(&spapr_vscsi_info);
|
||||
}
|
||||
device_init(spapr_vscsi_register);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue