From: Mathieu Magnaudet Date: Thu, 27 Nov 2014 15:02:36 +0000 (+0100) Subject: HID: make hid_report_len as a static inline function in hid.h X-Git-Tag: omap-for-v3.19/fixes-rc1~112^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dabb05c6670e6e4415d7b56cd5864a5dbd90207f;p=pandora-kernel.git HID: make hid_report_len as a static inline function in hid.h In several hid drivers it is necessary to calculate the length of an hid_report. This patch exports the existing static function hid_report_len of hid-core.c as an inline function in hid.h Signed-off-by: Mathieu Magnaudet Reviewed-by: Benjamin Tissoires Reviewed-by: David Herrmann Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed