mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:02:20 +00:00
8b9a1f5ef4
Use more forward declarations, move header guards to cover other includes, and rely less on including headers through other headers. Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20240129152557.3221212-2-ckeepax@opensource.cirrus.com Signed-off-by: Lee Jones <lee@kernel.org>
31 lines
832 B
C
31 lines
832 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* CS42L43 core driver internal data
|
|
*
|
|
* Copyright (C) 2022-2023 Cirrus Logic, Inc. and
|
|
* Cirrus Logic International Semiconductor Ltd.
|
|
*/
|
|
|
|
#ifndef CS42L43_CORE_INT_H
|
|
#define CS42L43_CORE_INT_H
|
|
|
|
#define CS42L43_N_DEFAULTS 176
|
|
|
|
struct dev_pm_ops;
|
|
struct device;
|
|
struct reg_default;
|
|
|
|
struct cs42l43;
|
|
|
|
extern const struct dev_pm_ops cs42l43_pm_ops;
|
|
extern const struct reg_default cs42l43_reg_default[CS42L43_N_DEFAULTS];
|
|
|
|
bool cs42l43_readable_register(struct device *dev, unsigned int reg);
|
|
bool cs42l43_precious_register(struct device *dev, unsigned int reg);
|
|
bool cs42l43_volatile_register(struct device *dev, unsigned int reg);
|
|
|
|
int cs42l43_dev_probe(struct cs42l43 *cs42l43);
|
|
void cs42l43_dev_remove(struct cs42l43 *cs42l43);
|
|
|
|
#endif /* CS42L43_CORE_INT_H */
|