aboutsummaryrefslogtreecommitdiff
path: root/qom/object.c
diff options
context:
space:
mode:
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>2014-09-25 22:18:14 -0700
committerAndreas Färber <afaerber@suse.de>2014-10-13 16:39:27 +0200
commit688b057aece53003f9d5a1dadc8961482dc2d948 (patch)
treebdfe7bcd7fa3b54764acedb4bf11cf5cab388af5 /qom/object.c
parenta69bef1cf12159233b0ba193bd9dc9b173cea453 (diff)
qdev: gpio: Register GPIO outputs as QOM links
Within the object that contains the GPIO output. This allows for connecting GPIO outputs via setting of a Link property. Also clear the link value to zero. This catch-alls the case where a device improperly inits a gpio_out (malloc instead of malloc0). 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>
Diffstat (limited to 'qom/object.c')
0 files changed, 0 insertions, 0 deletions