From 0ff8bb872423f7433b0165cbc10d23be1771af7c Mon Sep 17 00:00:00 2001
From: Simon Glass <sjg@chromium.org>
Date: Sun, 5 Feb 2023 15:44:26 -0700
Subject: [PATCH] Correct SPL uses of USB_MUSB_HOST

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_USB_MUSB_HOST defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
---
 drivers/phy/phy-ab8500-usb.c    | 2 +-
 drivers/usb/musb-new/omap2430.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/phy/phy-ab8500-usb.c b/drivers/phy/phy-ab8500-usb.c
index 0e04595717..3d3d48c973 100644
--- a/drivers/phy/phy-ab8500-usb.c
+++ b/drivers/phy/phy-ab8500-usb.c
@@ -19,7 +19,7 @@ static int ab8500_usb_phy_power_on(struct phy *phy)
 	struct udevice *dev = phy->dev;
 	uint set = AB8500_BIT_PHY_CTRL_DEVICE_EN;
 
-	if (CONFIG_IS_ENABLED(USB_MUSB_HOST))
+	if (IS_ENABLED(CONFIG_USB_MUSB_HOST))
 		set = AB8500_BIT_PHY_CTRL_HOST_EN;
 
 	return pmic_clrsetbits(dev->parent, AB8500_USB_PHY_CTRL_REG,
diff --git a/drivers/usb/musb-new/omap2430.c b/drivers/usb/musb-new/omap2430.c
index 42e7abddbc..482dfdc6be 100644
--- a/drivers/usb/musb-new/omap2430.c
+++ b/drivers/usb/musb-new/omap2430.c
@@ -231,7 +231,7 @@ static int omap2430_musb_probe(struct udevice *dev)
 
 	otg_board_data = &plat->otg_board_data;
 
-	if (CONFIG_IS_ENABLED(USB_MUSB_HOST)) {
+	if (IS_ENABLED(CONFIG_USB_MUSB_HOST)) {
 		struct musb_host_data *host = dev_get_priv(dev);
 		struct usb_bus_priv *priv = dev_get_uclass_priv(dev);
 
-- 
2.39.5