forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/sound/soc/codecs/cs42l51.h
....@@ -1,19 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * cs42l51.h
34 *
45 * ASoC Driver for Cirrus Logic CS42L51 codecs
56 *
67 * 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.
178 */
189 #ifndef _CS42L51_H
1910 #define _CS42L51_H
....@@ -22,7 +13,9 @@
2213
2314 extern const struct regmap_config cs42l51_regmap;
2415 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);
2619
2720 #define CS42L51_CHIP_ID 0x1B
2821 #define CS42L51_CHIP_REV_A 0x00