diff options
Diffstat (limited to 'samples/kfifo/dma-example.c')
-rw-r--r-- | samples/kfifo/dma-example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/kfifo/dma-example.c b/samples/kfifo/dma-example.c index 0647379..aa243db 100644 --- a/samples/kfifo/dma-example.c +++ b/samples/kfifo/dma-example.c @@ -39,7 +39,7 @@ static int __init example_init(void) kfifo_in(&fifo, "test", 4); for (i = 0; i != 9; i++) - kfifo_put(&fifo, &i); + kfifo_put(&fifo, i); /* kick away first byte */ kfifo_skip(&fifo); |