PNP: Fix duplicate included pci.h
Subsystems (2)
PATCH 1/1 PNP: 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 <[email protected]>
--- drivers/pnp/quirks.c | 2 -- 1 file changed, 2 deletions(-)
drivers/pnp/quirks.c +0 -2
@@ -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 ;
Signature · 1 line
2.7.4
Quoted 14 lines · Tian Tao
linux/pci.his included more than once, Remove the one that isn't necessary.Signed-off-by Tian Tao <[email protected]>--- drivers/pnp/quirks.c | 2 -- 1 file changed, 2 deletions(-)drivers/pnp/quirks.c +0
-0
drivers/pnp/quirks.c static void quirk_ad1815_mpu_resources(struct pnp_dev *dev)
Quoted 9 lines
drivers/pnp/quirks.c +0
-3@@ -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!