summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf548
diff options
context:
space:
mode:
authorBryan Wu <bryan.wu@analog.com>2007-12-24 05:20:19 +0100
committerBryan Wu <bryan.wu@analog.com>2007-12-24 05:20:19 +0100
commit2935077e06494638a78a02f7b4cf304e4e70eaca (patch)
tree9d1f54b4b23b4b194cd2188dccacc9e7eb73c7b7 /arch/blackfin/mach-bf548
parent[Blackfin] arch: The BF527 EZkit connects UART1/PORTF (diff)
downloadlinux-2935077e06494638a78a02f7b4cf304e4e70eaca.tar.xz
linux-2935077e06494638a78a02f7b4cf304e4e70eaca.zip
[Blackfin] arch: Fix if/def BUG - and define is multipoint NO
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mach-bf548')
-rw-r--r--arch/blackfin/mach-bf548/boards/ezkit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c
index 4d966eb2e998..856b9db06663 100644
--- a/arch/blackfin/mach-bf548/boards/ezkit.c
+++ b/arch/blackfin/mach-bf548/boards/ezkit.c
@@ -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;