diff options
author | Nuno Sa <nuno.sa@analog.com> | 2024-10-21 16:00:49 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-10-22 12:32:45 +0100 |
commit | cca8824838a59aba31e182525175e5659c33034f (patch) | |
tree | bd6a2d99efd83a0b6ceed6931b3cca467c2ffe2f /sound/soc/codecs/adau1372.h | |
parent | 5337ff41d37d4171868bb7b34dade68e269743f0 (diff) | |
download | lwn-cca8824838a59aba31e182525175e5659c33034f.tar.gz lwn-cca8824838a59aba31e182525175e5659c33034f.zip |
ASoC: codecs: adau1372: add match table
Add an of_device_id table for both the I2C and SPI drivers.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://patch.msgid.link/20241021-adau1372-of-table-v1-1-6efbc7946957@analog.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/adau1372.h')
-rw-r--r-- | sound/soc/codecs/adau1372.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/adau1372.h b/sound/soc/codecs/adau1372.h index a9d2c59b73a9..c55b1c24fe39 100644 --- a/sound/soc/codecs/adau1372.h +++ b/sound/soc/codecs/adau1372.h @@ -13,6 +13,7 @@ struct device; +extern const struct of_device_id adau1372_of_match[]; int adau1372_probe(struct device *dev, struct regmap *regmap, void (*switch_mode)(struct device *dev)); |