diff options
author | Joe Perches <joe@perches.com> | 2013-04-18 17:17:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-18 22:02:59 -0400 |
commit | 1cb6e73c556e8a61d41e531003cf205c16650a02 (patch) | |
tree | 26610453711c745238a67f2edb3b8a51238d3b72 /drivers/usb/storage | |
parent | a85796ee514954b1ef5efe8928ef38777aab8c2d (diff) |
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>
Diffstat (limited to 'drivers/usb/storage')
-rw-r--r-- | drivers/usb/storage/debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ | |||
43 | */ | 43 | */ |
44 | 44 | ||
45 | #include <linux/cdrom.h> | 45 | #include <linux/cdrom.h> |
46 | #include <linux/export.h> | ||
46 | #include <scsi/scsi.h> | 47 | #include <scsi/scsi.h> |
47 | #include <scsi/scsi_cmnd.h> | 48 | #include <scsi/scsi_cmnd.h> |
48 | #include <scsi/scsi_dbg.h> | 49 | #include <scsi/scsi_dbg.h> |
@@ -193,3 +194,4 @@ int usb_stor_dbg(const char *fmt, ...) | |||
193 | 194 | ||
194 | return r; | 195 | return r; |
195 | } | 196 | } |
197 | EXPORT_SYMBOL_GPL(usb_stor_dbg); | ||