git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add-vmcore: add nodemask_t's size and NR_FREE_PAGES's value to vmcoreinfo_data
[safe/jmp/linux-2.6]
/
include
/
linux
/
attribute_container.h
diff --git
a/include/linux/attribute_container.h
b/include/linux/attribute_container.h
index
ee83fe6
..
8ff2749
100644
(file)
--- a/
include/linux/attribute_container.h
+++ b/
include/linux/attribute_container.h
@@
-11,12
+11,11
@@
#include <linux/device.h>
#include <linux/list.h>
#include <linux/device.h>
#include <linux/list.h>
-#include <linux/
spinlock
.h>
+#include <linux/
klist
.h>
struct attribute_container {
struct list_head node;
struct attribute_container {
struct list_head node;
- struct list_head containers;
- spinlock_t containers_lock;
+ struct klist containers;
struct class *class;
struct class_device_attribute **attrs;
int (*match)(struct attribute_container *, struct device *);
struct class *class;
struct class_device_attribute **attrs;
int (*match)(struct attribute_container *, struct device *);