From patchwork Thu Apr 11 23:44:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 235948 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 587112C0AE1 for ; Fri, 12 Apr 2013 09:44:37 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751372Ab3DKXob (ORCPT ); Thu, 11 Apr 2013 19:44:31 -0400 Received: from mail-ia0-f180.google.com ([209.85.210.180]:65049 "EHLO mail-ia0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750742Ab3DKXoa (ORCPT ); Thu, 11 Apr 2013 19:44:30 -0400 Received: by mail-ia0-f180.google.com with SMTP id l29so1891418iag.39 for ; Thu, 11 Apr 2013 16:44:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=5/g6zI134Q3lDcTBlOH9+AlAuX+db3kNzh+LxhqntmI=; b=Vo3pOrSbungMOoyGecRY3u+sVSGl0rAGvvMdH9d20+JoMat3Q0nezJzIS9MSNDJmYD sDExAk+iQF8pYj6jMrYEpT4AZ1VocGb752uTgnMzaeeXiAH4tHxXTkKeJ+DDe+LTK/b0 qL9h/N9y+SD1D/T2GtCdWA64NVQr4aB2oQlEdUlxGJc8O76KzOAxIj8XHQZhHWpJAGw8 ooxpRiL3UakVig6HIit80oYs6hQBlWFOoy2UprrTNUg+06pHxQ8CTLp4h/N6CokZMHDj YBWqgnaMvCoeE1yLMsvNPYCEbS8QzmW7dIFqzVdmoMMQOhmDRLnXCvs2Re81eoDuTpsb Odbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:x-gm-message-state; bh=5/g6zI134Q3lDcTBlOH9+AlAuX+db3kNzh+LxhqntmI=; b=AAN5JSadZwNMblQhZQnp6iJUNExpFvKx6trkDRWX6yo1/i264kEkFKH0STriwerqjm q96TlcbAwC6jf+IxIJq+jY2kbhDTaNj3OA7+jwC+DyMEcxy42P2X4qAoYnQKci4wwZGG DElc4PAaRzL6cKBCb1zGRbEoWerVPfNIEXifdaA+wJXRrBb5XdPmvlm3+kv5LLWsENjp D0HQ0azutZXOrlanrMTYh/lhi4t1hC4j1HswCwuq7d2XhyxsK0S1eNey7mu/pYxtIxVc wtAIaOmpxvVKWuInPTlyR3uqcB/IpxaTXkwuAcppA9jPq7BTQ23BMOaONxoQrMfaACBp FvwQ== X-Received: by 10.50.25.102 with SMTP id b6mr322461igg.27.1365723869560; Thu, 11 Apr 2013 16:44:29 -0700 (PDT) Received: from google.com ([172.16.49.242]) by mx.google.com with ESMTPS id ur12sm459238igb.8.2013.04.11.16.44.27 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 11 Apr 2013 16:44:28 -0700 (PDT) Date: Thu, 11 Apr 2013 17:44:26 -0600 From: Bjorn Helgaas To: Andrew Murray Cc: linux-pci@vger.kernel.org, "thierry.reding@avionic-design.de" , "thomas.petazzoni@free-electrons.com" , "jbarnes@virtuousgeek.org" , linux-acpi@vger.kernel.org, "Rafael J. Wysocki" Subject: Re: [PATCH] pci: Remove unnecessary dependency between PME and ACPI. Message-ID: <20130411234426.GA10196@google.com> References: <20130221155329.GA26729@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20130221155329.GA26729@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQnmngVcYjZMNdHw/GrDRKd5lcr65WDvsBzXady06MHDqXfbBRlf0AbKNldaKUYKKl8aJoyRTFIfy8FQ6HCHaQV8vOdHJx4UVwauPFirb68TVCI678asE1e3p101qgxjmABe9yS0Dkv6aOmIfUQ/eJN6rwmnZh+qV7AueoCRVAU8lPM4cYRaqcQauIrmOQMxOc8RMafmj2UO7cT26XUqDO8NujuxKQ== Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On Thu, Feb 21, 2013 at 03:53:29PM +0000, Andrew Murray wrote: > Signed-off-by: Andrew Murray > Signed-off-by: Liviu Dudau > --- > drivers/pci/pcie/Kconfig | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/pci/pcie/Kconfig b/drivers/pci/pcie/Kconfig > index 6c8bc58..4cccd8c 100644 > --- a/drivers/pci/pcie/Kconfig > +++ b/drivers/pci/pcie/Kconfig > @@ -82,4 +82,4 @@ endchoice > > config PCIE_PME > def_bool y > - depends on PCIEPORTBUS && PM_RUNTIME && EXPERIMENTAL && ACPI > + depends on PCIEPORTBUS && PM_RUNTIME && EXPERIMENTAL I think we can go even further and remove the ACPI-related #includes as in the patch below. Any objections to this? commit 8bde83b5f5519b630e7630fb735f76c184c74289 Author: Bjorn Helgaas Date: Thu Apr 11 17:36:50 2013 -0600 PCI: Remove unnecessary dependencies between PME and ACPI PCIe PME doesn't depend on ACPI, so remove the #includes and Kconfig dependency. Based-on-patch-by: Andrew Murray Signed-off-by: Bjorn Helgaas Acked-by: Rafael J. Wysocki --- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/pci/pcie/Kconfig b/drivers/pci/pcie/Kconfig index fde4a32..569f82f 100644 --- a/drivers/pci/pcie/Kconfig +++ b/drivers/pci/pcie/Kconfig @@ -82,4 +82,4 @@ endchoice config PCIE_PME def_bool y - depends on PCIEPORTBUS && PM_RUNTIME && ACPI + depends on PCIEPORTBUS && PM_RUNTIME diff --git a/drivers/pci/pcie/pme.c b/drivers/pci/pcie/pme.c index 9ca0dc9..795db1f 100644 --- a/drivers/pci/pcie/pme.c +++ b/drivers/pci/pcie/pme.c @@ -19,8 +19,6 @@ #include #include #include -#include -#include #include #include "../pci.h"