diff options
| author | Mark Brown <broonie@kernel.org> | 2026-01-06 18:48:35 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-01-06 18:48:35 +0000 |
| commit | c7ac7499ac5bb50ab3e00add121822c5c904bc91 (patch) | |
| tree | d14526920d73d098d41a818908d1fbcb9da653e5 /include | |
| parent | d7e36da652aca579b63b5617de755c2d855393fe (diff) | |
| parent | 420739112e95c9bb286b4e87875706925970abd3 (diff) | |
ASoC: rt5575: Add the codec driver for the ALC5575
Merge series from Oder Chiou <oder_chiou@realtek.com>:
This patch series adds support for the Realtek ALC5575 audio codec.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/spi/spi.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index cb2c2df31089..8bc616b00343 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -882,6 +882,15 @@ extern int devm_spi_register_controller(struct device *dev, struct spi_controller *ctlr); extern void spi_unregister_controller(struct spi_controller *ctlr); +#if IS_ENABLED(CONFIG_OF) +extern struct spi_controller *of_find_spi_controller_by_node(struct device_node *node); +#else +static inline struct spi_controller *of_find_spi_controller_by_node(struct device_node *node) +{ + return NULL; +} +#endif + #if IS_ENABLED(CONFIG_ACPI) && IS_ENABLED(CONFIG_SPI_MASTER) extern struct spi_controller *acpi_spi_find_controller_by_adev(struct acpi_device *adev); extern struct spi_device *acpi_spi_device_alloc(struct spi_controller *ctlr, |
