diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-12-06 19:32:44 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-01-27 10:50:47 -0600 |
commit | e855761ca8fa08ebe29c1e69abc6f0863a453f92 (patch) | |
tree | 21e7769d6ca4bd2ddea01ce80fbe2b6d085960ad /hw/spapr_llan.c | |
parent | 3dde52d2fe5fd4783bdd06f88561cbd0695aae06 (diff) |
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>
Diffstat (limited to 'hw/spapr_llan.c')
-rw-r--r-- | hw/spapr_llan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/spapr_llan.c b/hw/spapr_llan.c index 91003cc511..b9a5afccbc 100644 --- a/hw/spapr_llan.c +++ b/hw/spapr_llan.c @@ -474,7 +474,7 @@ static target_ulong h_multicast_ctrl(CPUState *env, sPAPREnvironment *spapr, return H_SUCCESS; } -static VIOsPAPRDeviceInfo spapr_vlan = { +static VIOsPAPRDeviceInfo spapr_vlan_info = { .init = spapr_vlan_init, .devnode = spapr_vlan_devnode, .dt_name = "l-lan", @@ -492,12 +492,12 @@ static VIOsPAPRDeviceInfo spapr_vlan = { static void spapr_vlan_register(void) { - spapr_vio_bus_register_withprop(&spapr_vlan); spapr_register_hypercall(H_REGISTER_LOGICAL_LAN, h_register_logical_lan); spapr_register_hypercall(H_FREE_LOGICAL_LAN, h_free_logical_lan); spapr_register_hypercall(H_SEND_LOGICAL_LAN, h_send_logical_lan); spapr_register_hypercall(H_ADD_LOGICAL_LAN_BUFFER, h_add_logical_lan_buffer); spapr_register_hypercall(H_MULTICAST_CTRL, h_multicast_ctrl); + spapr_vio_bus_register_withprop(&spapr_vlan_info); } device_init(spapr_vlan_register); |