提交 1cb6e73c 编写于 作者: J Joe Perches 提交者: 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: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册