diff options
author | Shyam_Iyer@Dell.com <Shyam_Iyer@Dell.com> | 2011-03-10 17:05:56 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-03-16 13:24:34 -0400 |
commit | 65d8defe2e13fbebd74f96d2b5ca9aad435e6648 (patch) | |
tree | 1278c62fbc5c3ffc81a027d8363d8c49a4413e19 /drivers/pci | |
parent | 07eefe1ca542129c24833c96ceb83b9aaa3b458d (diff) |
PCI: label: remove #include of ACPI header to avoid warnings
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>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pci-label.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/pci-label.c b/drivers/pci/pci-label.c index 8c80138bb66f..77cb2a14c896 100644 --- a/drivers/pci/pci-label.c +++ b/drivers/pci/pci-label.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <linux/nls.h> | 29 | #include <linux/nls.h> |
30 | #include <linux/acpi.h> | 30 | #include <linux/acpi.h> |
31 | #include <linux/pci-acpi.h> | 31 | #include <linux/pci-acpi.h> |
32 | #include <acpi/acpi_drivers.h> | ||
33 | #include <acpi/acpi_bus.h> | 32 | #include <acpi/acpi_bus.h> |
34 | #include "pci.h" | 33 | #include "pci.h" |
35 | 34 | ||