USB: Fix trout build failure with ci13xxx_msm gadget
authorPavankumar Kondeti <pkondeti@codeaurora.org>
Fri, 4 Feb 2011 04:38:18 +0000 (10:08 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Feb 2011 20:38:14 +0000 (12:38 -0800)
commit8cf28f1f4de58c70e6af657bb46ca8f304c073d4
tree0127ff6c9f92106d42e07f5607547e5ebb71fdd3
parent148fc55fd0449683a1d15bf219ad8d8b6fa17545
USB: Fix trout build failure with ci13xxx_msm gadget

This patch fixes the below compilation errors.

  CC      drivers/usb/gadget/ci13xxx_msm.o
  CC      net/mac80211/led.o
  drivers/usb/gadget/ci13xxx_msm.c: In function 'ci13xxx_msm_notify_event':
  drivers/usb/gadget/ci13xxx_msm.c:42: error: 'USB_AHBBURST' undeclared (first use in this function)
  drivers/usb/gadget/ci13xxx_msm.c:42: error: (Each undeclared identifier is reported only once
  drivers/usb/gadget/ci13xxx_msm.c:42: error: for each function it appears in.)
  drivers/usb/gadget/ci13xxx_msm.c:43: error: 'USB_AHBMODE' undeclared (first use in this function)
make[4]: *** [drivers/usb/gadget/ci13xxx_msm.o] Error 1
make[3]: *** [drivers/usb/gadget] Error 2

MSM USB driver is not supported on boards like trout (MSM7201) which
has an external PHY.

Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/Kconfig
drivers/usb/host/Kconfig
drivers/usb/otg/Kconfig
include/linux/usb/msm_hsusb_hw.h