diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2006-10-30 13:07:58 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-01 14:36:58 -0800 |
commit | 467c442f092e22acf86a3b4ad4863d097d7257da (patch) | |
tree | 27741551b8ca054e2c2f053830c7fac65692609b /drivers/pci/hotplug/acpiphp_core.c | |
parent | a2302c68d923537436b1114aa207787c1a31bd50 (diff) |
acpiphp: fix use of list_for_each macro
This patch fixes invalid usage of list_for_each()
list_for_each (node, &bridge_list) {
bridge = (struct acpiphp_bridge *)node;
...
}
This code works while the member of list node is located at the
head of struct acpiphp_bridge.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/acpiphp_core.c')
0 files changed, 0 insertions, 0 deletions