diff options
Diffstat (limited to 'net/nfc')
-rw-r--r-- | net/nfc/llcp/llcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/nfc/llcp/llcp.c b/net/nfc/llcp/llcp.c index 90ef4a17681..d649fbf39d5 100644 --- a/net/nfc/llcp/llcp.c +++ b/net/nfc/llcp/llcp.c | |||
@@ -1156,8 +1156,8 @@ int nfc_llcp_register_device(struct nfc_dev *ndev) | |||
1156 | 1156 | ||
1157 | INIT_WORK(&local->timeout_work, nfc_llcp_timeout_work); | 1157 | INIT_WORK(&local->timeout_work, nfc_llcp_timeout_work); |
1158 | 1158 | ||
1159 | local->sockets.lock = __RW_LOCK_UNLOCKED(local->sockets.lock); | 1159 | rwlock_init(&local->sockets.lock); |
1160 | local->connecting_sockets.lock = __RW_LOCK_UNLOCKED(local->connecting_sockets.lock); | 1160 | rwlock_init(&local->connecting_sockets.lock); |
1161 | 1161 | ||
1162 | nfc_llcp_build_gb(local); | 1162 | nfc_llcp_build_gb(local); |
1163 | 1163 | ||