summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/g_ffs.c
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2010-11-17 17:09:47 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-17 13:24:46 -0800
commitaa02f172ac85f144d0baa248e27e34e165963f94 (patch)
tree14355f3d00caeebcea89293bea84449bab0421cf /drivers/usb/gadget/g_ffs.c
parentc08512c761e7b9eaaab0e9167a389393f268e93c (diff)
usb: gadget: g_fs: Fix compilation warning
This commit fixes warning in f_fs.c introduced by "usb: gadget: f_fs: remove custom printk() wrappers": In file included from drivers/usb/gadget/g_ffs.c:64: drivers/usb/gadget/f_fs.c:30:1: warning: "pr_fmt" redefined Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/g_ffs.c')
-rw-r--r--drivers/usb/gadget/g_ffs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/gadget/g_ffs.c b/drivers/usb/gadget/g_ffs.c
index 3dc19892cfd..ebf6970a10b 100644
--- a/drivers/usb/gadget/g_ffs.c
+++ b/drivers/usb/gadget/g_ffs.c
@@ -19,6 +19,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#define pr_fmt(fmt) "g_ffs: " fmt
+
#include <linux/module.h>
#include <linux/utsname.h>