aboutsummaryrefslogtreecommitdiff
path: root/hw/core
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2014-02-05 15:21:38 +0100
committerAndreas Färber <afaerber@suse.de>2014-02-14 16:22:31 +0100
commit6749695eaaf346c1667067e17ecc9d7d64b7f61c (patch)
tree097e2e990a22d79eb4b8fc4f9b2364b2688a58b1 /hw/core
parent3687d5325925a9d981c86437ff52f502a1c7648a (diff)
nand: Don't use qdev_create() in nand_init()
Commit 7426aa72c36c908a7d0eae3e38568bb0a70de479 (nand: Don't inherit from Sysbus) changed the parent type of TYPE_NAND but continued to use qdev_create(), which handled a NULL BusState as SysBus. Use object_new() instead, and reuse the TYPE_NAND define while at it. Reported-by: Markus Armbruster <armbru@redhat.com> Cc: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/core')
0 files changed, 0 insertions, 0 deletions