]> Git Repo - qemu.git/commit
spapr: Change DRC attach & detach methods to functions
authorDavid Gibson <[email protected]>
Tue, 6 Jun 2017 07:44:11 +0000 (17:44 +1000)
committerDavid Gibson <[email protected]>
Thu, 8 Jun 2017 04:38:26 +0000 (14:38 +1000)
commit0be4e88621df69f044e043f0f16d4017d35f30ae
tree4a007971cdab76c91a4795dbd40168e154a52186
parentcd74d27e42f25e574195b0d3046acb33fd65b078
spapr: Change DRC attach & detach methods to functions

DRC objects have attach & detach methods, but there's only one
implementation.  Although there are some differences in its behaviour for
different DRC types, the overall structure is the same, so while we might
want different method implementations for some parts, we're unlikely to
want them for the top-level functions.

So, replace them with direct function calls.

Signed-off-by: David Gibson <[email protected]>
Reviewed-by: Michael Roth <[email protected]>
Acked-by: Michael Roth <[email protected]>
hw/ppc/spapr.c
hw/ppc/spapr_drc.c
hw/ppc/spapr_pci.c
include/hw/ppc/spapr_drc.h
This page took 0.02581 seconds and 4 git commands to generate.