From 65d8defe2e13fbebd74f96d2b5ca9aad435e6648 Mon Sep 17 00:00:00 2001 From: "Shyam_Iyer@Dell.com" Date: Fri, 11 Mar 2011 03:35:56 +0530 Subject: [PATCH] PCI: label: remove #include of ACPI header to avoid warnings MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit I found that including acpi/apci_drivers.h is not necessary and introduces these warnings: In file included from drivers/pci/pci-label.c:32: include/acpi/acpi_drivers.h:103: warning: ‘struct acpi_device’ declared inside parameter list include/acpi/acpi_drivers.h:103: warning: its scope is only this definition or declaration, which is probably not what you want include/acpi/acpi_drivers.h:107: warning: ‘struct acpi_pci_root’ declared inside parameter list Signed-off-by: Shyam Iyer Signed-off-by: Jesse Barnes --- drivers/pci/pci-label.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/pci-label.c b/drivers/pci/pci-label.c index 8c80138bb66..77cb2a14c89 100644 --- a/drivers/pci/pci-label.c +++ b/drivers/pci/pci-label.c @@ -29,7 +29,6 @@ #include #include #include -#include #include #include "pci.h" -- 2.39.5