diff mbox

[24/24] omap4: multi-omap: Allow build to work

Message ID 1266335895-32741-24-git-send-email-santosh.shilimkar@ti.com (mailing list archive)
State Changes Requested, archived
Headers show

Commit Message

Santosh Shilimkar Feb. 16, 2010, 3:58 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index bcce8e8..13b1c4a 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -2124,6 +2124,10 @@  static int __init musb_probe(struct platform_device *pdev)
 	struct resource	*iomem;
 	void __iomem	*base;
 
+	/* FIXME: multi-omap build to work on omap4 */
+	if (cpu_is_omap44xx())
+		return 0;
+
 	iomem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
 	if (!iomem || irq == 0)
 		return -ENODEV;