]> git.baikalelectronics.ru Git - kernel.git/commit
usb: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 13:56:31 +0000 (09:56 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:25 +0000 (19:31 -0400)
commitf84cbbfa0304fbed02fc2bb2bbd3c610704cd9d3
treefd4eac433d27add07c1880200aeb7e262d4e76d3
parent9bcccaa0aa3e15a1aa74750eaa57e52fd45cfdfa
usb: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed

With module.h being implicitly everywhere via device.h, the absence
of explicitly including something for EXPORT_SYMBOL went unnoticed.
Since we are heading to fix things up and clean module.h from the
device.h file, we need to explicitly include these files now.

Use the lightweight version of the header that has just THIS_MODULE
and EXPORT_SYMBOL variants.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
19 files changed:
drivers/usb/core/driver.c
drivers/usb/core/notify.c
drivers/usb/gadget/f_fs.c
drivers/usb/gadget/u_serial.c
drivers/usb/host/pci-quirks.c
drivers/usb/host/whci/debug.c
drivers/usb/mon/mon_bin.c
drivers/usb/mon/mon_stat.c
drivers/usb/mon/mon_text.c
drivers/usb/otg/otg.c
drivers/usb/otg/ulpi.c
drivers/usb/storage/protocol.c
drivers/usb/storage/transport.c
drivers/usb/wusbcore/devconnect.c
drivers/usb/wusbcore/mmc.c
drivers/usb/wusbcore/rh.c
drivers/usb/wusbcore/security.c
drivers/usb/wusbcore/wa-rpipe.c
drivers/usb/wusbcore/wa-xfer.c