hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/crypto/ux500/cryp/cryp.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /**
23 * Copyright (C) ST-Ericsson SA 2010
34 * Author: Shujuan Chen <shujuan.chen@stericsson.com> for ST-Ericsson.
....@@ -5,7 +6,6 @@
56 * Author: Joakim Bech <joakim.xx.bech@stericsson.com> for ST-Ericsson.
67 * Author: Berne Hebark <berne.herbark@stericsson.com> for ST-Ericsson.
78 * Author: Niklas Hernaeus <niklas.hernaeus@stericsson.com> for ST-Ericsson.
8
- * License terms: GNU General Public License (GPL) version 2
99 */
1010
1111 #ifndef _CRYP_H_
....@@ -241,12 +241,12 @@
241241 struct clk *clk;
242242 struct regulator *pwr_regulator;
243243 int power_status;
244
- struct spinlock ctx_lock;
244
+ spinlock_t ctx_lock;
245245 struct cryp_ctx *current_ctx;
246246 struct klist_node list_node;
247247 struct cryp_dma dma;
248248 bool power_state;
249
- struct spinlock power_state_spinlock;
249
+ spinlock_t power_state_spinlock;
250250 bool restore_dev_ctx;
251251 };
252252