From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH 4/8] ARM: OMAP: move cpuidle drivers to drivers/cpuidle/ Date: Thu, 27 Jun 2013 10:25:14 -0700 Message-ID: <878v1vqxdx.fsf@linaro.org> References: <1372241747-21083-1-git-send-email-b.zolnierkie@samsung.com> <1372241747-21083-5-git-send-email-b.zolnierkie@samsung.com> <20130627080653.GH5523@atomide.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from mail-pb0-f53.google.com ([209.85.160.53]:48689 "EHLO mail-pb0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752152Ab3F0RZT (ORCPT ); Thu, 27 Jun 2013 13:25:19 -0400 Received: by mail-pb0-f53.google.com with SMTP id xb12so1206869pbc.12 for ; Thu, 27 Jun 2013 10:25:18 -0700 (PDT) In-Reply-To: <20130627080653.GH5523@atomide.com> (Tony Lindgren's message of "Thu, 27 Jun 2013 01:06:54 -0700") Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Tony Lindgren Cc: Bartlomiej Zolnierkiewicz , linux-arm-kernel@lists.infradead.org, rjw@sisk.pl, kgene.kim@samsung.com, magnus.damm@gmail.com, ben-linux@fluff.org, linux-pm@vger.kernel.org, nsekhar@ti.com, linus.walleij@linaro.org, swarren@wwwdotorg.org, nicolas.ferre@atmel.com, daniel.lezcano@linaro.org, kyungmin.park@samsung.com, horms@verge.net.au, srinidhi.kasagar@stericsson.com, kernel@pengutronix.de, shawn.guo@linaro.org, plagnioj@jcrosoft.com, linux@maxim.org.za Tony Lindgren writes: > * Bartlomiej Zolnierkiewicz [130626 12:25]: >> While at it: >> - remove file path from comment >> - fix whitespace issues >> >> Compile tested only. > ... > >> --- /dev/null >> +++ b/drivers/cpuidle/cpuidle-omap34xx.c >> @@ -0,0 +1,342 @@ >> +/* >> + * OMAP3 CPU IDLE Routines >> + * >> + * Copyright (C) 2008 Texas Instruments, Inc. >> + * Rajendra Nayak >> + * >> + * Copyright (C) 2007 Texas Instruments, Inc. >> + * Karthik Dasu >> + * >> + * Copyright (C) 2006 Nokia Corporation >> + * Tony Lindgren >> + * >> + * Copyright (C) 2005 Texas Instruments, Inc. >> + * Richard Woodruff >> + * >> + * Based on pm.c for omap2 >> + * >> + * This program is free software; you can redistribute it and/or modify >> + * it under the terms of the GNU General Public License version 2 as >> + * published by the Free Software Foundation. >> + */ >> + >> +#include >> +#include >> +#include >> +#include >> +#include >> + >> +#include "../../arch/arm/mach-omap2/powerdomain.h" >> +#include "../../arch/arm/mach-omap2/clockdomain.h" >> + >> +#include "../../arch/arm/mach-omap2/pm.h" >> +#include "../../arch/arm/mach-omap2/control.h" >> +#include "../../arch/arm/mach-omap2/common.h" > > Do we really want to do includes like this from drivers? > Presumably these will go away with DT, but still. > > Kevin, any comments? NACK We need proper interfaces to platform-specific code before moving. Kevin