This patch kills the following compile warning while building for MUSB peripheral mode. drivers/usb/musb/musb_core.c: In function 'musb_stage0_irq': drivers/usb/musb/musb_core.c:382: warning: unused variable 'mbase' Signed-off-by: Maulik Mankad <x0082077@xxxxxx> Cc: Felipe Balbi <felipe.balbi@xxxxxxxxx> Cc: David Brownell <david-b@xxxxxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxx> --- Based on top of 2.6.34-rc1. Index: mainline/drivers/usb/musb/musb_core.c =================================================================== --- mainline.orig/drivers/usb/musb/musb_core.c +++ mainline/drivers/usb/musb/musb_core.c @@ -379,7 +379,9 @@ static irqreturn_t musb_stage0_irq(struc u8 devctl, u8 power) { irqreturn_t handled = IRQ_NONE; +#if defined(CONFIG_USB_MUSB_HDRC_HCD) || defined(CONFIG_USB_MUSB_OTG) void __iomem *mbase = musb->mregs; +#endif DBG(3, "<== Power=%02x, DevCtl=%02x, int_usb=0x%x\n", power, devctl, int_usb); -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html