aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorBob Liu <lliubbo@gmail.com>2012-06-18 02:36:07 -0400
committerBob Liu <lliubbo@gmail.com>2012-07-24 01:39:51 -0400
commitb091694b5f8859a7aee3e3f5987c7f2ea554ba9d (patch)
tree8124b05af2b5f26df70716b3629e64a4021615bc /arch/blackfin
parent3375a43f97504218d848c26ff75da6d160c94120 (diff)
blackfin: fix musb macro name
Musb can't work since the marco name has been changed. Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/mach-bf527/boards/ezkit.c4
-rw-r--r--arch/blackfin/mach-bf548/boards/ezkit.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c
index af732eb3a687..fc179ca07799 100644
--- a/arch/blackfin/mach-bf527/boards/ezkit.c
+++ b/arch/blackfin/mach-bf527/boards/ezkit.c
@@ -114,9 +114,9 @@ static struct musb_hdrc_config musb_config = {
114}; 114};
115 115
116static struct musb_hdrc_platform_data musb_plat = { 116static struct musb_hdrc_platform_data musb_plat = {
117#if defined(CONFIG_USB_MUSB_OTG) 117#if defined(CONFIG_USB_MUSB_HDRC) && defined(CONFIG_USB_GADGET_MUSB_HDRC)
118 .mode = MUSB_OTG, 118 .mode = MUSB_OTG,
119#elif defined(CONFIG_USB_MUSB_HDRC_HCD) 119#elif defined(CONFIG_USB_MUSB_HDRC)
120 .mode = MUSB_HOST, 120 .mode = MUSB_HOST,
121#elif defined(CONFIG_USB_GADGET_MUSB_HDRC) 121#elif defined(CONFIG_USB_GADGET_MUSB_HDRC)
122 .mode = MUSB_PERIPHERAL, 122 .mode = MUSB_PERIPHERAL,
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c
index 3bd75bae750d..c4d07f040947 100644
--- a/arch/blackfin/mach-bf548/boards/ezkit.c
+++ b/arch/blackfin/mach-bf548/boards/ezkit.c
@@ -635,9 +635,9 @@ static struct musb_hdrc_config musb_config = {
635}; 635};
636 636
637static struct musb_hdrc_platform_data musb_plat = { 637static struct musb_hdrc_platform_data musb_plat = {
638#if defined(CONFIG_USB_MUSB_OTG) 638#if defined(CONFIG_USB_MUSB_HDRC) && defined(CONFIG_USB_GADGET_MUSB_HDRC)
639 .mode = MUSB_OTG, 639 .mode = MUSB_OTG,
640#elif defined(CONFIG_USB_MUSB_HDRC_HCD) 640#elif defined(CONFIG_USB_MUSB_HDRC)
641 .mode = MUSB_HOST, 641 .mode = MUSB_HOST,
642#elif defined(CONFIG_USB_GADGET_MUSB_HDRC) 642#elif defined(CONFIG_USB_GADGET_MUSB_HDRC)
643 .mode = MUSB_PERIPHERAL, 643 .mode = MUSB_PERIPHERAL,