[Blackfin] arch: Fix if/def BUG - and define is multipoint NO
authorBryan Wu <bryan.wu@analog.com>
Mon, 24 Dec 2007 04:20:19 +0000 (12:20 +0800)
committerBryan Wu <bryan.wu@analog.com>
Mon, 24 Dec 2007 04:20:19 +0000 (12:20 +0800)
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/mach-bf548/boards/ezkit.c

index 4d966eb2e99886764c9566a33ae68b89f21673fe..856b9db066633672e49509df6acb9f23abdf2ccb 100644 (file)
@@ -226,14 +226,14 @@ static struct resource musb_resources[] = {
 };
 
 static struct musb_hdrc_platform_data musb_plat = {
-#ifdef CONFIG_USB_MUSB_OTG
+#if defined(CONFIG_USB_MUSB_OTG)
        .mode           = MUSB_OTG,
-#elif CONFIG_USB_MUSB_HDRC_HCD
+#elif defined(CONFIG_USB_MUSB_HDRC_HCD)
        .mode           = MUSB_HOST,
-#elif CONFIG_USB_GADGET_MUSB_HDRC
+#elif defined(CONFIG_USB_GADGET_MUSB_HDRC)
        .mode           = MUSB_PERIPHERAL,
 #endif
-       .multipoint     = 1,
+       .multipoint     = 0,
 };
 
 static u64 musb_dmamask = ~(u32)0;