]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/base/base.h
driver-core: use klist for class device list and implement iterator
[linux-2.6-omap-h63xx.git] / drivers / base / base.h
index 31dc0cd84afa2474c8f3a4a511e07c30ef1febe6..0a5f055dffbaa389fd8f4b2f0bfe81fe5a352241 100644 (file)
@@ -54,7 +54,7 @@ struct driver_private {
  */
 struct class_private {
        struct kset class_subsys;
-       struct list_head class_devices;
+       struct klist class_devices;
        struct list_head class_interfaces;
        struct kset class_dirs;
        struct mutex class_mutex;