Skip to contentSkip to conversation

ARM: S5P: Fix compilation error for exynos4_defconfig

PATCH JinGoo Han 1 participant 1 message Jun 3, 2011 Arm Samsung Exynos

lore
Share & tools
lore

JinGoo Han

author Acked-by
#0 lore raw
Quoted 58 lines

------- Original Message -------
Sender : Tushar Behera<[email protected]>
Date : Jun 03, 2011 16:04 (GMT+09:00)
Title : [PATCH V2] ARM: S5P: Fix compilation error for exynos4_defconfig

Added Kconfig entry for setup-usb-phy.c on which EHCI support is dependent on.

Following the naming convention of other setup files, we have following renaming.

	usb-phy.c ==> setup-usb-phy.c
---
 arch/arm/mach-exynos4/Kconfig                      |    6 ++++++
 arch/arm/mach-exynos4/Makefile                     |    2 +-
 .../mach-exynos4/{usb-phy.c => setup-usb-phy.c}    |    0
 3 files changed, 7 insertions(+), 1 deletions(-)
 rename arch/arm/mach-exynos4/{usb-phy.c => setup-usb-phy.c} (100%)
arch/arm/mach-exynos4/Kconfig +6 -0
index b92c1e5..a45a022 100644
@@ -91,6 +91,11 @@ config EXYNOS4_SETUP_FIMC
 	help
 	  Common setup code for the camera interfaces.
 
+config EXYNOS4_SETUP_USB_PHY
+	bool
+	help
+	  Common setup code for USB PHY controller	
+
 # machine support
 
 menu "EXYNOS4 Machines"
@@ -176,6 +181,7 @@ config MACH_NURI
 	select EXYNOS4_SETUP_I2C3
 	select EXYNOS4_SETUP_I2C5
 	select EXYNOS4_SETUP_SDHCI
+	select EXYNOS4_SETUP_USB_PHY
 	select SAMSUNG_DEV_PWM
 	help
 	  Machine support for Samsung Mobile NURI Board.
arch/arm/mach-exynos4/Makefile +1 -1
index a9bb94f..60fe5ec 100644
@@ -56,4 +56,4 @@ obj-$(CONFIG_EXYNOS4_SETUP_KEYPAD)	+= setup-keypad.o
 obj-$(CONFIG_EXYNOS4_SETUP_SDHCI)	+= setup-sdhci.o
 obj-$(CONFIG_EXYNOS4_SETUP_SDHCI_GPIO)	+= setup-sdhci-gpio.o
 
-obj-$(CONFIG_USB_SUPPORT)		+= usb-phy.o
+obj-$(CONFIG_EXYNOS4_SETUP_USB_PHY)	+= setup-usb-phy.o
arch/arm/mach-exynos4/setup-usb-phy.c renamed from arch/arm/mach-exynos4/usb-phy.c +0 -0
similarity index 100%
rename from arch/arm/mach-exynos4/usb-phy.c
rename to arch/arm/mach-exynos4/setup-usb-phy.c