| .. | .. |
|---|
| 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) |
|---|
| 4 | 5 | * Author: Joakim Bech (joakim.xx.bech@stericsson.com) |
|---|
| 5 | 6 | * Author: Berne Hebark (berne.hebark@stericsson.com)) |
|---|
| 6 | | - * License terms: GNU General Public License (GPL) version 2 |
|---|
| 7 | 7 | */ |
|---|
| 8 | 8 | #ifndef _HASH_ALG_H |
|---|
| 9 | 9 | #define _HASH_ALG_H |
|---|
| .. | .. |
|---|
| 366 | 366 | phys_addr_t phybase; |
|---|
| 367 | 367 | struct klist_node list_node; |
|---|
| 368 | 368 | struct device *dev; |
|---|
| 369 | | - struct spinlock ctx_lock; |
|---|
| 369 | + spinlock_t ctx_lock; |
|---|
| 370 | 370 | struct hash_ctx *current_ctx; |
|---|
| 371 | 371 | bool power_state; |
|---|
| 372 | | - struct spinlock power_state_lock; |
|---|
| 372 | + spinlock_t power_state_lock; |
|---|
| 373 | 373 | struct regulator *regulator; |
|---|
| 374 | 374 | struct clk *clk; |
|---|
| 375 | 375 | bool restore_dev_state; |
|---|