hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/crypto/ux500/hash/hash_alg.h
....@@ -1,9 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2010
34 * Author: Shujuan Chen (shujuan.chen@stericsson.com)
45 * Author: Joakim Bech (joakim.xx.bech@stericsson.com)
56 * Author: Berne Hebark (berne.hebark@stericsson.com))
6
- * License terms: GNU General Public License (GPL) version 2
77 */
88 #ifndef _HASH_ALG_H
99 #define _HASH_ALG_H
....@@ -366,10 +366,10 @@
366366 phys_addr_t phybase;
367367 struct klist_node list_node;
368368 struct device *dev;
369
- struct spinlock ctx_lock;
369
+ spinlock_t ctx_lock;
370370 struct hash_ctx *current_ctx;
371371 bool power_state;
372
- struct spinlock power_state_lock;
372
+ spinlock_t power_state_lock;
373373 struct regulator *regulator;
374374 struct clk *clk;
375375 bool restore_dev_state;