From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH v2 08/13] OMAP4: hwmod: Enable omap_device build for OMAP4 Date: Fri, 25 Jun 2010 10:27:48 -0700 Message-ID: <87bpazowdn.fsf@deeprootsystems.com> References: <1277423084-25528-1-git-send-email-khilman@deeprootsystems.com> <1277423084-25528-9-git-send-email-khilman@deeprootsystems.com> <4C24AC33.1080902@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pw0-f46.google.com ([209.85.160.46]:47291 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752347Ab0FYR1x (ORCPT ); Fri, 25 Jun 2010 13:27:53 -0400 Received: by pwj8 with SMTP id 8so2451388pwj.19 for ; Fri, 25 Jun 2010 10:27:52 -0700 (PDT) In-Reply-To: <4C24AC33.1080902@ti.com> (Benoit Cousson's message of "Fri, 25 Jun 2010 15:16:35 +0200") Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: "Cousson, Benoit" Cc: "linux-omap@vger.kernel.org" , "paul@pwsan.com" , "Nayak, Rajendra" "Cousson, Benoit" writes: > On 6/25/2010 1:44 AM, Kevin Hilman wrote: >> From: Rajendra Nayak >> >> Enable omap_device layer support for OMAP4, so that drivers can >> use them to enable/idle/shutdown devices. >> >> Signed-off-by: Rajendra Nayak >> Signed-off-by: Benoit Cousson >> Cc: Paul Walmsley >> Signed-off-by: Kevin Hilman >> --- >> arch/arm/plat-omap/Makefile | 1 + >> 1 files changed, 1 insertions(+), 0 deletions(-) >> >> diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile >> index 98f0191..9405831 100644 >> --- a/arch/arm/plat-omap/Makefile >> +++ b/arch/arm/plat-omap/Makefile >> @@ -15,6 +15,7 @@ obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o >> # omap_device support (OMAP2+ only at the moment) >> obj-$(CONFIG_ARCH_OMAP2) += omap_device.o >> obj-$(CONFIG_ARCH_OMAP3) += omap_device.o >> +obj-$(CONFIG_ARCH_OMAP4) += omap_device.o >> >> obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o >> obj-$(CONFIG_OMAP_IOMMU) += iommu.o iovmm.o > > You need as well to enable omap_hwmod.c build otherwise it cannot > build on OMAP4. Doh, sorry. Pushed an updated pm-wip/hwmods with this folded into $SUBJECT patch. Kevin > diff --git a/arch/arm/mach-omap2/Makefile > b/arch/arm/mach-omap2/Makefile index 8ed47ea..5de06c3 100644 > --- a/arch/arm/mach-omap2/Makefile > +++ b/arch/arm/mach-omap2/Makefile > @@ -15,7 +15,7 @@ clock-common = clock.o > clock_common_data.o \ > > obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common) > $(hwmod-common) > obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(prcm-common) > $(hwmod-common) > -obj-$(CONFIG_ARCH_OMAP4) += $(prcm-common) > +obj-$(CONFIG_ARCH_OMAP4) += $(prcm-common) $(hwmod-common) > > obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o > > > Benoit