From: Michal Nazarewicz Date: Tue, 6 Nov 2012 21:52:39 +0000 (+0100) Subject: usb: gadget: storage_common: Make fsg_lun_is_open() a function. X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~82^2~59^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fea20dbcfd6673d73d510984589897bd921c8a1d;p=pandora-kernel.git usb: gadget: storage_common: Make fsg_lun_is_open() a function. Since function-line macros are to be avoided, this commit replaces the fsg_lun_is_open() macro with a static inline function. While at it, this commit also adds “inline” modifier to the fsg_lun_from_dev() function. Signed-off-by: Michal Nazarewicz Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed