Commit 1cb6e73c authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman

usb: storage: Fix link error

Fix allmodconfig link error introduced by commit 75b9130e
("usb: storage: Add usb_stor_dbg, reduce object size")

Export the symbol usb_stor_dbg.
Add export.h
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a85796ee
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
*/ */
#include <linux/cdrom.h> #include <linux/cdrom.h>
#include <linux/export.h>
#include <scsi/scsi.h> #include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h> #include <scsi/scsi_cmnd.h>
#include <scsi/scsi_dbg.h> #include <scsi/scsi_dbg.h>
...@@ -193,3 +194,4 @@ int usb_stor_dbg(const char *fmt, ...) ...@@ -193,3 +194,4 @@ int usb_stor_dbg(const char *fmt, ...)
return r; return r;
} }
EXPORT_SYMBOL_GPL(usb_stor_dbg);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment