diff options
author | Andreas Färber <afaerber@suse.de> | 2014-02-05 15:21:38 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-02-14 16:22:31 +0100 |
commit | 6749695eaaf346c1667067e17ecc9d7d64b7f61c (patch) | |
tree | 097e2e990a22d79eb4b8fc4f9b2364b2688a58b1 /hw/i2c/omap_i2c.c | |
parent | 3687d5325925a9d981c86437ff52f502a1c7648a (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/i2c/omap_i2c.c')
0 files changed, 0 insertions, 0 deletions