diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-04-10 18:59:35 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-04-12 09:54:56 +0200 |
commit | d354cee3d01d10ffdce1568e671e679527d33d22 (patch) | |
tree | 37af1752c6dd65f257a77ea6fba36908e3289c29 /include/kfifo.h | |
parent | 8e8c61e786908b6aa3db647d06e09bf5ac331de9 (diff) | |
download | barebox-d354cee3d01d10ffdce1568e671e679527d33d22.tar.gz barebox-d354cee3d01d10ffdce1568e671e679527d33d22.tar.xz |
kfifo: kfifo_put takes a const buffer
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/kfifo.h')
-rw-r--r-- | include/kfifo.h | 2 |
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 |