From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759342Ab1FWMD0 (ORCPT ); Thu, 23 Jun 2011 08:03:26 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:52678 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753011Ab1FWMDZ convert rfc822-to-8bit (ORCPT ); Thu, 23 Jun 2011 08:03:25 -0400 From: "Rafael J. Wysocki" To: Cong Wang Subject: Re: [PATCH 4/5] pm: move pm notifiers into suspend.h Date: Thu, 23 Jun 2011 14:04:11 +0200 User-Agent: KMail/1.13.6 (Linux/3.0.0-rc4+; KDE/4.6.0; x86_64; ; ) Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, netdev@vger.kernel.org, Chris Ball , Len Brown , Pavel Machek , "Ohad Ben-Cohen" , Linus Walleij , Philip Rakity , "David S. Miller" , Lucas De Marchi , "Paul E. McKenney" , Josh Triplett , linux-mmc@vger.kernel.org, linux-pm@lists.linux-foundation.org References: <1308724522-32461-1-git-send-email-amwang@redhat.com> <201106222149.28252.rjw@sisk.pl> <4E02C93A.7010601@redhat.com> In-Reply-To: <4E02C93A.7010601@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Message-Id: <201106231404.12311.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday, June 23, 2011, Cong Wang wrote: > 于 2011年06月23日 03:49, Rafael J. Wysocki 写道: > >> +#ifdef CONFIG_PM > >> > +#include > >> > +#endif > > I don't think the #ifdef in necessary. Any dependencies on CONFIG_PM > > (or CONFIG_SUSPEND etc.) should be taken care of inside of suspend.h. > > This file should be fixed if they aren't. > > > > Ok, please check the updated version below. That's fine by me. Please feel free to add my ACK to the patch. Thanks, Rafael