staging: nvec: Introduce new internal API for msg alloc/free
commit0b1076c4b2a06e517fafbb2b4704f23e69b05386
authorJulian Andres Klode <jak@jak-linux.org>
Tue, 27 Sep 2011 17:00:48 +0000 (27 19:00 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Sep 2011 00:40:40 +0000 (29 17:40 -0700)
treed6d3b853d09e5305fa6c781cf0030306ca87571f
parentb414e2eb3a487c901c6e0c515753fc0905784eac
staging: nvec: Introduce new internal API for msg alloc/free

Introduce two new functions nvec_msg_alloc() and nvec_msg_free()
that allocate and free message buffers from the internal pool
of messages.

Signed-off-by: Julian Andres Klode <jak@jak-linux.org>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/nvec/nvec.c
drivers/staging/nvec/nvec.h