PCI: acpiphp: Use normal list to simplify implementation
[deliverable/linux.git] / drivers / pci / hotplug / acpiphp.h
index abd48d309ad0e09c10a4a23f6fc79e395a06342e..4ff716b6a6b388b8a4c6315d1b6c4cfc88e96235 100644 (file)
@@ -73,8 +73,8 @@ static inline const char *slot_name(struct slot *slot)
  */
 struct acpiphp_bridge {
        struct list_head list;
+       struct list_head slots;
        acpi_handle handle;
-       struct acpiphp_slot *slots;
 
        /* Ejectable PCI-to-PCI bridge (PCI bridge and PCI function) */
        struct acpiphp_func *func;
@@ -97,7 +97,7 @@ struct acpiphp_bridge {
  * PCI slot information for each *physical* PCI slot
  */
 struct acpiphp_slot {
-       struct acpiphp_slot *next;
+       struct list_head node;
        struct acpiphp_bridge *bridge;  /* parent */
        struct list_head funcs;         /* one slot may have different
                                           objects (i.e. for each function) */
This page took 0.025214 seconds and 5 git commands to generate.