diff options
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | 2014-09-25 22:18:14 -0700 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-10-13 16:39:27 +0200 |
commit | 688b057aece53003f9d5a1dadc8961482dc2d948 (patch) | |
tree | bdfe7bcd7fa3b54764acedb4bf11cf5cab388af5 /qom/object.c | |
parent | a69bef1cf12159233b0ba193bd9dc9b173cea453 (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