diff options
| author | Charles Keepax <[email protected]> | 2024-01-29 15:25:53 +0000 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2024-02-23 14:58:01 +0000 |
| commit | 8b9a1f5ef43b8d26c4df3b4e3cbebec04d7be1c5 (patch) | |
| tree | 63acef5268121bea71148ddc62f569e573f8b509 /include/linux | |
| parent | efe4c7908ec9d5959e87f088f0176c012b08a027 (diff) | |
mfd: cs42l43: Tidy up header includes
Use more forward declarations, move header guards to cover other
includes, and rely less on including headers through other headers.
Suggested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Charles Keepax <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/cs42l43.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/linux/mfd/cs42l43.h b/include/linux/mfd/cs42l43.h index cf8263aab41b..2239d8585e78 100644 --- a/include/linux/mfd/cs42l43.h +++ b/include/linux/mfd/cs42l43.h @@ -6,20 +6,21 @@ * Cirrus Logic International Semiconductor Ltd. */ +#ifndef CS42L43_CORE_EXT_H +#define CS42L43_CORE_EXT_H + #include <linux/completion.h> -#include <linux/device.h> -#include <linux/gpio/consumer.h> #include <linux/mutex.h> #include <linux/regmap.h> #include <linux/regulator/consumer.h> -#include <linux/soundwire/sdw.h> #include <linux/workqueue.h> -#ifndef CS42L43_CORE_EXT_H -#define CS42L43_CORE_EXT_H - #define CS42L43_N_SUPPLIES 3 +struct device; +struct gpio_desc; +struct sdw_slave; + enum cs42l43_irq_numbers { CS42L43_PLL_LOST_LOCK, CS42L43_PLL_READY, |