From f9559ba01f174f60fcdf4035b910b813a7ceb781 Mon Sep 17 00:00:00 2001 From: Benoit Goby Date: Tue, 31 Aug 2010 15:59:00 -0700 Subject: [PATCH] [ARM] tegra: Compile usb_phy.c only if usb support is enabled Change-Id: I190bab00533d065171ab2478363830c6d95e66cb Signed-off-by: Benoit Goby --- arch/arm/mach-tegra/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile index 91b6f5733ad3..410091cc0b1a 100644 --- a/arch/arm/mach-tegra/Makefile +++ b/arch/arm/mach-tegra/Makefile @@ -11,8 +11,8 @@ obj-y += powergate.o obj-y += suspend.o obj-y += fuse.o obj-y += tegra_i2s_audio.o +obj-$(CONFIG_USB_SUPPORT) += usb_phy.o obj-$(CONFIG_FIQ) += fiq.o -obj-y += usb_phy.o obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += clock.o obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra2_clocks.o -- 2.34.1