diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/device.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 68a95358013d..195b327f3e19 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -264,6 +264,10 @@ struct device { | |||
264 | struct kobject kobj; | 264 | struct kobject kobj; |
265 | char bus_id[BUS_ID_SIZE]; /* position on parent bus */ | 265 | char bus_id[BUS_ID_SIZE]; /* position on parent bus */ |
266 | 266 | ||
267 | struct semaphore sem; /* semaphore to synchronize calls to | ||
268 | * its driver. | ||
269 | */ | ||
270 | |||
267 | struct bus_type * bus; /* type of bus device is on */ | 271 | struct bus_type * bus; /* type of bus device is on */ |
268 | struct device_driver *driver; /* which driver has allocated this | 272 | struct device_driver *driver; /* which driver has allocated this |
269 | device */ | 273 | device */ |