diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/hwspinlock.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Documentation/hwspinlock.txt b/Documentation/hwspinlock.txt index 7dcd1a4e726c..bbaa4649b637 100644 --- a/Documentation/hwspinlock.txt +++ b/Documentation/hwspinlock.txt | |||
@@ -256,18 +256,16 @@ underlying hwspinlock implementation using the hwspin_lock_register() API. | |||
256 | * @ops: vendor-specific hwspinlock handlers | 256 | * @ops: vendor-specific hwspinlock handlers |
257 | * @id: a global, unique, system-wide, index of the lock. | 257 | * @id: a global, unique, system-wide, index of the lock. |
258 | * @lock: initialized and used by hwspinlock core | 258 | * @lock: initialized and used by hwspinlock core |
259 | * @owner: underlying implementation module, used to maintain module ref count | ||
260 | */ | 259 | */ |
261 | struct hwspinlock { | 260 | struct hwspinlock { |
262 | struct device *dev; | 261 | struct device *dev; |
263 | const struct hwspinlock_ops *ops; | 262 | const struct hwspinlock_ops *ops; |
264 | int id; | 263 | int id; |
265 | spinlock_t lock; | 264 | spinlock_t lock; |
266 | struct module *owner; | ||
267 | }; | 265 | }; |
268 | 266 | ||
269 | The underlying implementation is responsible to assign the dev, ops, id and | 267 | The underlying implementation is responsible to assign the dev, ops and id |
270 | owner members. The lock member, OTOH, is initialized and used by the hwspinlock | 268 | members. The lock member, OTOH, is initialized and used by the hwspinlock |
271 | core. | 269 | core. |
272 | 270 | ||
273 | 6. Implementation callbacks | 271 | 6. Implementation callbacks |