From: Akinobu Mita Date: Mon, 30 Oct 2006 21:07:58 +0000 (-0800) Subject: acpiphp: fix use of list_for_each macro X-Git-Tag: v2.6.20-rc1~34^2~40^2~473^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=467c442f092e22acf86a3b4ad4863d097d7257da;p=pandora-kernel.git 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 Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed