From 42bb9c9178ae7ac4c439172b1ae99cc29188a5c6 Mon Sep 17 00:00:00 2001 From: Peter Crosthwaite Date: Tue, 16 Apr 2013 10:28:35 +1000 Subject: 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 Signed-off-by: Edgar E. Iglesias --- include/hw/stream.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/hw/stream.h') diff --git a/include/hw/stream.h b/include/hw/stream.h index 5bc47a93fe..35eb083a7f 100644 --- a/include/hw/stream.h +++ b/include/hw/stream.h @@ -43,12 +43,11 @@ typedef struct StreamSlaveClass { * @buf: Data to write * @len: Maximum number of bytes to write */ - size_t (*push)(StreamSlave *obj, unsigned char *buf, size_t len, - uint32_t *app); + size_t (*push)(StreamSlave *obj, unsigned char *buf, size_t len); } StreamSlaveClass; 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); bool stream_can_push(StreamSlave *sink, StreamCanPushNotifyFn notify, -- cgit v1.2.1