diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index e98232688899..a33424d41038 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -15,7 +15,6 @@ #include <linux/ioport.h> #include <linux/kobject.h> #include <linux/list.h> -#include <linux/spinlock.h> #include <linux/types.h> #include <linux/module.h> #include <linux/pm.h> @@ -148,6 +147,7 @@ struct class { struct subsystem subsys; struct list_head children; struct list_head interfaces; + struct semaphore sem; /* locks both the children and interfaces lists */ struct class_attribute * class_attrs; struct class_device_attribute * class_dev_attrs; |
