]> Git Repo - linux.git/commit - samples/Makefile
kfifo: add example files to the kernel sample directory
authorStefani Seibold <[email protected]>
Wed, 11 Aug 2010 01:03:39 +0000 (18:03 -0700)
committerLinus Torvalds <[email protected]>
Wed, 11 Aug 2010 15:59:23 +0000 (08:59 -0700)
commit5bf2b19320ec31d094d7370fdf536f7fd91fd799
tree47052fd9bdb0969d4a4a7d430695388094409964
parent2e956fb320568cc70861761483e2f0e2db75fd66
kfifo: add example files to the kernel sample directory

Add four examples to the kernel sample directory.

It shows how to handle:
- a byte stream fifo
- a integer type fifo
- a dynamic record sized fifo
- the fifo DMA functions

[[email protected]: coding-style fixes]
Signed-off-by: Stefani Seibold <[email protected]>
Cc: Greg KH <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
samples/Kconfig
samples/Makefile
samples/kfifo/Makefile [new file with mode: 0644]
samples/kfifo/bytestream-example.c [new file with mode: 0644]
samples/kfifo/dma-example.c [new file with mode: 0644]
samples/kfifo/inttype-example.c [new file with mode: 0644]
samples/kfifo/record-example.c [new file with mode: 0644]
This page took 0.050816 seconds and 4 git commands to generate.