]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
usb: storage: Fix link error
authorJoe Perches <joe@perches.com>
Thu, 18 Apr 2013 21:17:14 +0000 (14:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Apr 2013 02:02:59 +0000 (19:02 -0700)
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>
drivers/usb/storage/debug.c

index b428129526c17282b953952b6eb8e437abb8f77c..29fe08ffe3c8fdccc6d34b23e1b487bc0ebb2df5 100644 (file)
@@ -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);