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)
commit8517e879e0d11a277275616b9e1c749afe2fceff
tree4b61aad47d6108541c1e8e2d99fc020299a174ab
parente7c40851fd7989dad297988b6343f4e3cb687292
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