diff options
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | 2013-04-16 10:28:35 +1000 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2013-04-16 10:04:23 +0200 |
commit | 42bb9c9178ae7ac4c439172b1ae99cc29188a5c6 (patch) | |
tree | faf02d3b510f34a449701c82744a1c701e19569d /hw/core | |
parent | 3630ae952a17c2107db25f397233536ef874558e (diff) |
stream: Remove app argument hack
The uint32_t *app argument doesn't exist in real hardware. It was a hack in
xilinx_axidma/enet to fake the (secondary) control stream connection. Removed
the argument and added the second stream to axienet/dma.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'hw/core')
-rw-r--r-- | hw/core/stream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/core/stream.c b/hw/core/stream.c index 5397a8d74a..e6a05a543e 100644 --- a/hw/core/stream.c +++ b/hw/core/stream.c @@ -1,11 +1,11 @@ #include "hw/stream.h" size_t -stream_push(StreamSlave *sink, uint8_t *buf, size_t len, uint32_t *app) +stream_push(StreamSlave *sink, uint8_t *buf, size_t len) { StreamSlaveClass *k = STREAM_SLAVE_GET_CLASS(sink); - return k->push(sink, buf, len, app); + return k->push(sink, buf, len); } bool |