aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/hwspinlock.txt6
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 */
261struct hwspinlock { 260struct 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
269The underlying implementation is responsible to assign the dev, ops, id and 267The underlying implementation is responsible to assign the dev, ops and id
270owner members. The lock member, OTOH, is initialized and used by the hwspinlock 268members. The lock member, OTOH, is initialized and used by the hwspinlock
271core. 269core.
272 270
2736. Implementation callbacks 2716. Implementation callbacks