diff options
author | Helmut Schaa <helmut.schaa@googlemail.com> | 2013-03-15 12:57:56 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-03-19 00:38:29 +0400 |
commit | 1dd0dbb30eb8e5d3e855bc864e54b745d1b96fd6 (patch) | |
tree | 58e94899db6d2932a14a7b36f3d2b34a6cfcb447 /drivers/net/wireless/rt2x00/rt2x00queue.h | |
parent | 43283febfdd6ce2ca9e76982c459a03524ef9755 (diff) | |
download | linux-1dd0dbb30eb8e5d3e855bc864e54b745d1b96fd6.tar.xz |
rt2x00: Revert "rt2x00: remove unused argument"
This reverts commit db36f792370959ff26458f80942cf98fe8249d95
since I'm going to use the data pointer that was removed in
a follow up patch.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00queue.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h index 9b8c10a86dee..5f1392c72673 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.h +++ b/drivers/net/wireless/rt2x00/rt2x00queue.h @@ -584,6 +584,7 @@ struct data_queue_desc { * @queue: Pointer to @data_queue * @start: &enum queue_index Pointer to start index * @end: &enum queue_index Pointer to end index + * @data: Data to pass to the callback function * @fn: The function to call for each &struct queue_entry * * This will walk through all entries in the queue, in chronological @@ -596,7 +597,9 @@ struct data_queue_desc { bool rt2x00queue_for_each_entry(struct data_queue *queue, enum queue_index start, enum queue_index end, - bool (*fn)(struct queue_entry *entry)); + void *data, + bool (*fn)(struct queue_entry *entry, + void *data)); /** * rt2x00queue_empty - Check if the queue is empty. |