From: Pavel Machek Subject: Re: [RFC/RFT][PATCH -mm 2/4] PM: Move definition of struct pm_ops to suspend.h Date: Mon, 25 Jun 2007 21:33:27 +0200 Message-ID: <20070625193327.GB2008@elf.ucw.cz> References: <200706242239.05678.rjw@sisk.pl> <200706242241.39283.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from gprs189-60.eurotel.cz ([160.218.189.60]:48353 "EHLO amd.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752273AbXFYTdk (ORCPT ); Mon, 25 Jun 2007 15:33:40 -0400 Content-Disposition: inline In-Reply-To: <200706242241.39283.rjw@sisk.pl> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Rafael J. Wysocki" Cc: pm list , Alan Stern , David Brownell , linux acpi , Len Brown , Shaohua Li , Johannes Berg , Igor Stoppa On Sun 2007-06-24 22:41:38, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Move the definition of 'struct pm_ops' and related functions from > to . > > There are, at least, the following reasons to do that: > * 'struct pm_ops' is specifically related to suspend and not to the power > management in general. > * As long as 'struct pm_ops' is defined in , any modification of it > causes the entire kernel to be recompiled, which is unnecessary and annoying. > * Some suspend-related features are already defined in , so it > is logical to move the definition of 'struct pm_ops' into there. > * 'struct hibernation_ops', being the hibernation-related counterpart of > 'struct pm_ops', is defined in . > > Signed-off-by: Rafael J. Wysocki ACK. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html