From: Joe Perches <joe@perches.com> Date: Thu, 18 Apr 2013 21:17:14 +0000 (-0700) Subject: usb: storage: Fix link error X-Git-Tag: firefly_0821_release~3680^2~672^2~23 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1cb6e73c556e8a61d41e531003cf205c16650a02;p=firefly-linux-kernel-4.4.55.git usb: storage: Fix link error Fix allmodconfig link error introduced by commit 75b9130e8a ("usb: storage: Add usb_stor_dbg, reduce object size") Export the symbol usb_stor_dbg. Add export.h Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- diff --git a/drivers/usb/storage/debug.c b/drivers/usb/storage/debug.c index b428129526c1..29fe08ffe3c8 100644 --- a/drivers/usb/storage/debug.c +++ b/drivers/usb/storage/debug.c @@ -43,6 +43,7 @@ */ #include <linux/cdrom.h> +#include <linux/export.h> #include <scsi/scsi.h> #include <scsi/scsi_cmnd.h> #include <scsi/scsi_dbg.h> @@ -193,3 +194,4 @@ int usb_stor_dbg(const char *fmt, ...) return r; } +EXPORT_SYMBOL_GPL(usb_stor_dbg);