]> git.baikalelectronics.ru Git - kernel.git/commit
staging: nvec: Add is_event() and size() functions for nvec_msg
authorJulian Andres Klode <jak@jak-linux.org>
Tue, 27 Sep 2011 17:00:50 +0000 (19:00 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Sep 2011 00:41:33 +0000 (17:41 -0700)
commit8540db7036ab5d6cc10a11ff3bb7a45ae5f28a7d
tree4b61aad47d6108541c1e8e2d99fc020299a174ab
parent509b1bfebce322ed3cdfcb03efeedfa3406fee31
staging: nvec: Add is_event() and size() functions for nvec_msg

Add functions nvec_msg_is_event() and nvec_msg_size() which
do just what the say: tell whether the message is an event,
and getting the size of the message.

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