summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb-new/musb_core.h
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2015-08-04 17:04:06 +0200
committerMarek Vasut <marex@denx.de>2015-08-05 17:20:34 +0200
commit95de1e2f26b562156210833ff667be6d071de019 (patch)
tree530344b5a4facba0eeb493123b2be8f752654103 /drivers/usb/musb-new/musb_core.h
parent68f7c5db2d1e714c15b49b0759ddef8f8344f184 (diff)
downloadtalos-obmc-uboot-95de1e2f26b562156210833ff667be6d071de019.tar.gz
talos-obmc-uboot-95de1e2f26b562156210833ff667be6d071de019.zip
usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSB
USB-related options are usually prefixed with CONFIG_USB and platform-specific adaptation for the MUSB controller already have a CONFIG_USB_MUSB prefix, so this switches all MUSB-related options to a CONFIG_USB_MUSB prefix, for consistency. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'drivers/usb/musb-new/musb_core.h')
-rw-r--r--drivers/usb/musb-new/musb_core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb-new/musb_core.h b/drivers/usb/musb-new/musb_core.h
index 8727f6415e..c818040481 100644
--- a/drivers/usb/musb-new/musb_core.h
+++ b/drivers/usb/musb-new/musb_core.h
@@ -97,7 +97,7 @@ struct musb_ep;
#ifndef __UBOOT__
#define is_peripheral_capable() (1)
#else
-#ifdef CONFIG_MUSB_GADGET
+#ifdef CONFIG_USB_MUSB_GADGET
#define is_peripheral_capable() (1)
#else
#define is_peripheral_capable() (0)
@@ -118,7 +118,7 @@ extern void musb_g_disconnect(struct musb *);
#ifndef __UBOOT__
#define is_host_capable() (1)
#else
-#ifdef CONFIG_MUSB_HOST
+#ifdef CONFIG_USB_MUSB_HOST
#define is_host_capable() (1)
#else
#define is_host_capable() (0)
OpenPOWER on IntegriCloud