summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTian Tao <tiantao6@hisilicon.com>2020-09-14 02:44:50 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-09-25 18:01:06 +0200
commit759e56d9238ec0bb964965357f8bbb30ff2ec4b6 (patch)
treee82f93afb347f8e956cf9f8137fa83f45ee2256c
parentLinux 5.9-rc6 (diff)
downloadlinux-759e56d9238ec0bb964965357f8bbb30ff2ec4b6.tar.xz
linux-759e56d9238ec0bb964965357f8bbb30ff2ec4b6.zip
PNP: quirks: Fix duplicate included pci.h
linux/pci.h is included more than once. Remove the one that isn't necessary. Signed-off-by: Tian Tao <tiantao6@hisilicon.com> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--drivers/pnp/quirks.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pnp/quirks.c b/drivers/pnp/quirks.c
index de99f371d362..ac98b9919029 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;