chopstx_poll: Use const pointer for the third argument.

This commit is contained in:
NIIBE Yutaka
2017-11-16 09:15:03 +09:00
parent 621dff7cb3
commit 3552fc5615
5 changed files with 13 additions and 2 deletions

View File

@@ -1322,7 +1322,7 @@ chx_proxy_init (struct chx_px *px, uint32_t *cp)
* Returns number of active descriptors.
*/
int
chopstx_poll (uint32_t *usec_p, int n, struct chx_poll_head *pd_array[])
chopstx_poll (uint32_t *usec_p, int n, struct chx_poll_head *const pd_array[])
{
uint32_t counter = 0;
int i;