aboutsummaryrefslogtreecommitdiff
path: root/hw/xilinx_axienet.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2013-02-21 09:38:27 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2013-02-21 09:38:27 -0600
commit259dc0c1ce8eef14e5e0c349bc68ba05c9d5d82f (patch)
tree017cba36bb8b71b7b2207300403d13f37d0edf8f /hw/xilinx_axienet.c
parentcc2832a51c8ce43349967ab1b6c7aafd510e55b2 (diff)
parent159c9836d057d8990e71399e8a431b2b911e2885 (diff)
downloadqemu-259dc0c1ce8eef14e5e0c349bc68ba05c9d5d82f.zip
qemu-259dc0c1ce8eef14e5e0c349bc68ba05c9d5d82f.tar.gz
qemu-259dc0c1ce8eef14e5e0c349bc68ba05c9d5d82f.tar.bz2
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
# By Alin Tomescu (1) and others # Via Stefan Hajnoczi * stefanha/trivial-patches: .gitignore: Ignore optionrom/*.asm ppc: fix bamboo >256MB RAM initialization in hw/ppc4xx_devs.c Add some missing qtest binaries to .gitignore xilinx_axienet.c: Assert no error when making link Remove forward declaration of non-existant variable
Diffstat (limited to 'hw/xilinx_axienet.c')
-rw-r--r--hw/xilinx_axienet.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/xilinx_axienet.c b/hw/xilinx_axienet.c
index 34e344c..e5d9251 100644
--- a/hw/xilinx_axienet.c
+++ b/hw/xilinx_axienet.c
@@ -869,9 +869,11 @@ static int xilinx_enet_init(SysBusDevice *dev)
static void xilinx_enet_initfn(Object *obj)
{
struct XilinxAXIEnet *s = FROM_SYSBUS(typeof(*s), SYS_BUS_DEVICE(obj));
+ Error *errp = NULL;
object_property_add_link(obj, "axistream-connected", TYPE_STREAM_SLAVE,
- (Object **) &s->tx_dev, NULL);
+ (Object **) &s->tx_dev, &errp);
+ assert_no_error(errp);
}
static Property xilinx_enet_properties[] = {