| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /** |
|---|
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2010 |
|---|
| 3 | 4 | * Author: Shujuan Chen <shujuan.chen@stericsson.com> for ST-Ericsson. |
|---|
| .. | .. |
|---|
| 5 | 6 | * Author: Joakim Bech <joakim.xx.bech@stericsson.com> for ST-Ericsson. |
|---|
| 6 | 7 | * Author: Berne Hebark <berne.herbark@stericsson.com> for ST-Ericsson. |
|---|
| 7 | 8 | * Author: Niklas Hernaeus <niklas.hernaeus@stericsson.com> for ST-Ericsson. |
|---|
| 8 | | - * License terms: GNU General Public License (GPL) version 2 |
|---|
| 9 | 9 | */ |
|---|
| 10 | 10 | |
|---|
| 11 | 11 | #ifndef _CRYP_H_ |
|---|
| .. | .. |
|---|
| 241 | 241 | struct clk *clk; |
|---|
| 242 | 242 | struct regulator *pwr_regulator; |
|---|
| 243 | 243 | int power_status; |
|---|
| 244 | | - struct spinlock ctx_lock; |
|---|
| 244 | + spinlock_t ctx_lock; |
|---|
| 245 | 245 | struct cryp_ctx *current_ctx; |
|---|
| 246 | 246 | struct klist_node list_node; |
|---|
| 247 | 247 | struct cryp_dma dma; |
|---|
| 248 | 248 | bool power_state; |
|---|
| 249 | | - struct spinlock power_state_spinlock; |
|---|
| 249 | + spinlock_t power_state_spinlock; |
|---|
| 250 | 250 | bool restore_dev_ctx; |
|---|
| 251 | 251 | }; |
|---|
| 252 | 252 | |
|---|