commit | fea20dbcfd6673d73d510984589897bd921c8a1d | [log] [tgz] |
---|---|---|
author | Michal Nazarewicz <mina86@mina86.com> | Tue Nov 06 22:52:39 2012 +0100 |
committer | Felipe Balbi <balbi@ti.com> | Thu Nov 08 16:04:04 2012 +0200 |
tree | ba65cac9f5a3664afc74452f6105760970af15a6 | |
parent | 8575f7a70610c89135c374e4305421c41e39e810 [diff] |
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 <mina86@mina86.com> Signed-off-by: Felipe Balbi <balbi@ti.com>