linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PNP: Fix duplicate included pci.h
@ 2020-09-14  0:44 Tian Tao
  2020-09-25 16:02 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Tian Tao @ 2020-09-14  0:44 UTC (permalink / raw)
  To: rafael.j.wysocki, linux-acpi; +Cc: linuxarm

linux/pci.h is included more than once, Remove the one that isn't
necessary.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
---
 drivers/pnp/quirks.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/pnp/quirks.c b/drivers/pnp/quirks.c
index de99f37..ac98b99 100644
--- a/drivers/pnp/quirks.c
+++ b/drivers/pnp/quirks.c
@@ -226,8 +226,6 @@ static void quirk_ad1815_mpu_resources(struct pnp_dev *dev)
 	dev_info(&dev->dev, "made independent IRQ optional\n");
 }
 
-#include <linux/pci.h>
-
 static void quirk_system_pci_resources(struct pnp_dev *dev)
 {
 	struct pci_dev *pdev = NULL;
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] PNP: Fix duplicate included pci.h
  2020-09-14  0:44 [PATCH] PNP: Fix duplicate included pci.h Tian Tao
@ 2020-09-25 16:02 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2020-09-25 16:02 UTC (permalink / raw)
  To: Tian Tao; +Cc: Rafael Wysocki, ACPI Devel Maling List, Linuxarm

On Mon, Sep 14, 2020 at 2:47 AM Tian Tao <tiantao6@hisilicon.com> wrote:
>
> linux/pci.h is included more than once, Remove the one that isn't
> necessary.
>
> Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
> ---
>  drivers/pnp/quirks.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/pnp/quirks.c b/drivers/pnp/quirks.c
> index de99f37..ac98b99 100644
> --- a/drivers/pnp/quirks.c
> +++ b/drivers/pnp/quirks.c
> @@ -226,8 +226,6 @@ static void quirk_ad1815_mpu_resources(struct pnp_dev *dev)
>         dev_info(&dev->dev, "made independent IRQ optional\n");
>  }
>
> -#include <linux/pci.h>
> -
>  static void quirk_system_pci_resources(struct pnp_dev *dev)
>  {
>         struct pci_dev *pdev = NULL;
> --

Applied as 5.10 material with some subject and changelog edits, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-25 16:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-14  0:44 [PATCH] PNP: Fix duplicate included pci.h Tian Tao
2020-09-25 16:02 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).