PCI: label: remove #include of ACPI header to avoid warnings
authorShyam_Iyer@Dell.com <Shyam_Iyer@Dell.com>
Thu, 10 Mar 2011 22:05:56 +0000 (03:35 +0530)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 16 Mar 2011 17:24:34 +0000 (10:24 -0700)
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 <shyam_iyer@dell.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-label.c

index 8c80138bb66f44bb8eb792e79c59c11fb55786e9..77cb2a14c896893e4898ae8ed2d6dbdc74279300 100644 (file)
@@ -29,7 +29,6 @@
 #include <linux/nls.h>
 #include <linux/acpi.h>
 #include <linux/pci-acpi.h>
-#include <acpi/acpi_drivers.h>
 #include <acpi/acpi_bus.h>
 #include "pci.h"