commit | f10bb2544bab75b3e8df15a7b51a833c78cbd77f | [log] [tgz] |
---|---|---|
author | Akinobu Mita <akinobu.mita@gmail.com> | Tue Dec 19 12:56:09 2006 -0800 |
committer | Len Brown <len.brown@intel.com> | Wed Dec 20 00:30:48 2006 -0500 |
tree | 6d099f8c14ccdaca92b2100b8548afe536e56a14 | |
parent | 9185cfa92507d07ac787bc73d06c42222eec7239 [diff] |
ACPI: fix single linked list manipulation Fix single linked list manipulation for sub_driver. If the remving entry is not on the head of the sub_driver list, it goes into infinate loop. Though that infinite loop doesn't happen. Because the only user of acpi_pci_register_dirver() is acpiphp. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Len Brown <len.brown@intel.com>