qdev: gpio: Register GPIO inputs as child objects
commita69bef1cf12159233b0ba193bd9dc9b173cea453
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Fri, 26 Sep 2014 05:17:41 +0000 (25 22:17 -0700)
committerAndreas Färber <afaerber@suse.de>
Mon, 13 Oct 2014 14:39:26 +0000 (13 16:39 +0200)
tree69c465eef7da677ff2ff372e3fc08de55653036c
parentb235a71f52f60d42dd69c4ac2e41fa5a5861cf85
qdev: gpio: Register GPIO inputs as child objects

To the device that contains them. This will allow for referencing
a GPIO input from it's canonical path (exciting for dynamic machine
generation!)

Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/core/qdev.c