summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/kfifo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kfifo.h b/include/kfifo.h
index 6f8be10f67..3eb03cb17c 100644
--- a/include/kfifo.h
+++ b/include/kfifo.h
@@ -43,7 +43,7 @@ void kfifo_free(struct kfifo *fifo);
* bytes copied.
*/
unsigned int kfifo_put(struct kfifo *fifo,
- unsigned char *buffer, unsigned int len);
+ const unsigned char *buffer, unsigned int len);
/**
* kfifo_get - gets some data from the FIFO