summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-04-10 18:59:35 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-04-12 09:54:56 +0200
commitd354cee3d01d10ffdce1568e671e679527d33d22 (patch)
tree37af1752c6dd65f257a77ea6fba36908e3289c29 /lib
parent8e8c61e786908b6aa3db647d06e09bf5ac331de9 (diff)
downloadbarebox-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 'lib')
-rw-r--r--lib/kfifo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kfifo.c b/lib/kfifo.c
index bf5cee1de0..27d44e9bd8 100644
--- a/lib/kfifo.c
+++ b/lib/kfifo.c
@@ -96,7 +96,7 @@ void kfifo_free(struct kfifo *fifo)
*
*/
unsigned int kfifo_put(struct kfifo *fifo,
- unsigned char *buffer, unsigned int len)
+ const unsigned char *buffer, unsigned int len)
{
unsigned int l;