From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nishanth Menon Subject: Re: [PATCH] ARM: omap5: build opp4xxx_data.c Date: Fri, 21 Jun 2013 15:42:50 -0500 Message-ID: <20130621204250.GA16139@kahuna> References: <201306212229.54238.arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Received: from devils.ext.ti.com ([198.47.26.153]:36224 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946024Ab3FUUnT (ORCPT ); Fri, 21 Jun 2013 16:43:19 -0400 Content-Disposition: inline In-Reply-To: <201306212229.54238.arnd@arndb.de> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Arnd Bergmann Cc: linux-omap@vger.kernel.org, Linux ARM Kernel List , Tony Lindgren , Paul Walmsley , Santosh Shilimkar , Benoit Cousson , Kevin Hilman On 22:29-20130621, Arnd Bergmann wrote: > Building OMAP5 support without this file currently results in this link error: > > arch/arm/mach-omap2/built-in.o: In function `omap54xx_voltagedomains_init': > :(.init.text+0x6b80): undefined reference to `omap446x_vdd_core_volt_data' > :(.init.text+0x6b84): undefined reference to `omap446x_vdd_mpu_volt_data' > :(.init.text+0x6b88): undefined reference to `omap446x_vdd_iva_volt_data' > > Signed-off-by: Arnd Bergmann > Cc: Kevin Hilman > Cc: Benoit Cousson > Cc: Santosh Shilimkar > Cc: Paul Walmsley > Cc: Tony Lindgren > Cc: linux-omap@vger.kernel.org > > diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile > index 0520dc4..f5038f5 100644 > --- a/arch/arm/mach-omap2/Makefile > +++ b/arch/arm/mach-omap2/Makefile > @@ -77,6 +77,7 @@ ifeq ($(CONFIG_PM_OPP),y) > obj-y += opp.o > obj-$(CONFIG_ARCH_OMAP3) += opp3xxx_data.o > obj-$(CONFIG_ARCH_OMAP4) += opp4xxx_data.o > +obj-$(CONFIG_SOC_OMAP5) += opp4xxx_data.o > endif > /* * XXX Will depend on the process, validation, and binning * for the currently-running IC. Use OMAP4 data for time being. */ #ifdef CONFIG_PM_OPP omap5_voltdm_mpu.volt_data = omap446x_vdd_mpu_volt_data; omap5_voltdm_mm.volt_data = omap446x_vdd_iva_volt_data; omap5_voltdm_core.volt_data = omap446x_vdd_core_volt_data; #endif Should we just remove this instead? these are obviously wrong. -- Regards, Nishanth Menon