]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Add a klist to struct bus_type for its devices.
authormochel@digitalimplant.org <mochel@digitalimplant.org>
Mon, 21 Mar 2005 19:49:14 +0000 (11:49 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jun 2005 22:15:14 +0000 (15:15 -0700)
commita8bf881fcf7a66a55c79b6b92cd54b24e3b72857
tree392dabbfe84d1de3e84b1eb238bfd09d0ade6c4c
parenta9ed073aebb592fa376eeea168176eb986973d01
[PATCH] Add a klist to struct bus_type for its devices.

- Use it for bus_for_each_dev().
- Use the klist spinlock instead of the bus rwsem.

Signed-off-by: Patrick Mochel <mochel@digitalimplant.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/bus.c
include/linux/device.h