diff options
author | Suman Anna <s-anna@ti.com> | 2015-03-05 03:01:14 +0100 |
---|---|---|
committer | Ohad Ben-Cohen <ohad@wizery.com> | 2015-05-02 08:54:30 +0200 |
commit | fb7737e949e31d8a71acee6bbb670f32dbd2a2c0 (patch) | |
tree | 57ba40cfa05ca8a34211f3cbd97f77625beeed0a /net/dccp/ipv6.h | |
parent | Documentation: dt: add common bindings for hwspinlock (diff) | |
download | linux-fb7737e949e31d8a71acee6bbb670f32dbd2a2c0.tar.xz linux-fb7737e949e31d8a71acee6bbb670f32dbd2a2c0.zip |
hwspinlock/core: add device tree support
This patch adds a new OF-friendly API of_hwspin_lock_get_id()
for hwspinlock clients to use/request locks from a hwspinlock
device instantiated through a device-tree blob. This new API
can be used by hwspinlock clients to get the id for a specific
lock using the phandle + args specifier, so that it can be
requested using the available hwspin_lock_request_specific()
API.
Signed-off-by: Suman Anna <s-anna@ti.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
[small comment clarification]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Diffstat (limited to 'net/dccp/ipv6.h')
0 files changed, 0 insertions, 0 deletions