.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * cs42l51.h |
---|
3 | 4 | * |
---|
4 | 5 | * ASoC Driver for Cirrus Logic CS42L51 codecs |
---|
5 | 6 | * |
---|
6 | 7 | * Copyright (c) 2010 Arnaud Patard <apatard@mandriva.com> |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or modify |
---|
9 | | - * it under the terms of the GNU General Public License as published by |
---|
10 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
11 | | - * (at your option) any later version. |
---|
12 | | - * |
---|
13 | | - * This program is distributed in the hope that it will be useful, |
---|
14 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | | - * GNU General Public License for more details. |
---|
17 | 8 | */ |
---|
18 | 9 | #ifndef _CS42L51_H |
---|
19 | 10 | #define _CS42L51_H |
---|
.. | .. |
---|
22 | 13 | |
---|
23 | 14 | extern const struct regmap_config cs42l51_regmap; |
---|
24 | 15 | int cs42l51_probe(struct device *dev, struct regmap *regmap); |
---|
25 | | -extern const struct of_device_id cs42l51_of_match[]; |
---|
| 16 | +int cs42l51_remove(struct device *dev); |
---|
| 17 | +int __maybe_unused cs42l51_suspend(struct device *dev); |
---|
| 18 | +int __maybe_unused cs42l51_resume(struct device *dev); |
---|
26 | 19 | |
---|
27 | 20 | #define CS42L51_CHIP_ID 0x1B |
---|
28 | 21 | #define CS42L51_CHIP_REV_A 0x00 |
---|