summaryrefslogtreecommitdiff
path: root/arch/blackfin
diff options
context:
space:
mode:
authorBryan Wu <bryan.wu@analog.com>2007-12-24 12:20:19 +0800
committerBryan Wu <bryan.wu@analog.com>2007-12-24 12:20:19 +0800
commit2935077e06494638a78a02f7b4cf304e4e70eaca (patch)
tree9d1f54b4b23b4b194cd2188dccacc9e7eb73c7b7 /arch/blackfin
parent0e85e3020ebb9a1afdeaa516fe8b8f16087adac1 (diff)
downloadkernel-common-2935077e06494638a78a02f7b4cf304e4e70eaca.tar.gz
kernel-common-2935077e06494638a78a02f7b4cf304e4e70eaca.tar.bz2
kernel-common-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')
-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;