]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ACPI: PCI: move struct acpi_prt_entry declaration out of public header file
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 9 Dec 2008 04:30:31 +0000 (21:30 -0700)
committerLen Brown <len.brown@intel.com>
Wed, 31 Dec 2008 02:20:23 +0000 (21:20 -0500)
The struct acpi_prt_entry is used only in pci_irq.c, so there's no
need for the declaration to be public.  This patch moves it into
pci_irq.c.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/pci_irq.c
include/linux/acpi.h

index 9302f4bb89e2a558e368666a3ee69742bed2aec4..ea003bab7ecd9f686687dd71bab91576750ec51f 100644 (file)
 #define _COMPONENT             ACPI_PCI_COMPONENT
 ACPI_MODULE_NAME("pci_irq");
 
+struct acpi_prt_entry {
+       struct list_head        node;
+       struct acpi_pci_id      id;
+       u8                      pin;
+       struct {
+               acpi_handle             handle;
+               u32                     index;
+       }                       link;
+       u32                     irq;
+};
+
+struct acpi_prt_list {
+       int                     count;
+       struct list_head        entries;
+};
+
 static struct acpi_prt_list acpi_prt;
 static DEFINE_SPINLOCK(acpi_prt_lock);
 
index fba8051fb297c5368d9f869dff0c1217e4a332d5..813f937b3ab46db8ccfc5644f346c82c1c953ca6 100644 (file)
@@ -131,22 +131,6 @@ extern int acpi_get_override_irq(int bus_irq, int *trigger, int *polarity);
  */
 void acpi_unregister_gsi (u32 gsi);
 
-struct acpi_prt_entry {
-       struct list_head        node;
-       struct acpi_pci_id      id;
-       u8                      pin;
-       struct {
-               acpi_handle             handle;
-               u32                     index;
-       }                       link;
-       u32                     irq;
-};
-
-struct acpi_prt_list {
-       int                     count;
-       struct list_head        entries;
-};
-
 struct pci_dev;
 
 int acpi_pci_irq_enable (struct pci_dev *dev);