diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-01-26 10:25:26 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-01-26 13:57:43 +0100 |
commit | 178c4978b3bf1d6876984b2d2659f646cdb39b8a (patch) | |
tree | a9e7488d75df6d142503fbb15e82602200943848 /common/console.c | |
parent | 48529db7d46e600cbbf935af0f14f0a082950993 (diff) | |
download | barebox-178c4978b3bf1d6876984b2d2659f646cdb39b8a.tar.gz barebox-178c4978b3bf1d6876984b2d2659f646cdb39b8a.tar.xz |
kfifo: change kfifo_init to work with a preallocated fifo
kfifo currently only works with dynamically allocated fifos.
Change the currently unused kfifo_init to take a preallocated
fifo. This allows for statically initialized fifos.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/console.c')
0 files changed, 0 insertions, 0 deletions