From cca8824838a59aba31e182525175e5659c33034f Mon Sep 17 00:00:00 2001 From: Nuno Sa Date: Mon, 21 Oct 2024 16:00:49 +0200 Subject: ASoC: codecs: adau1372: add match table Add an of_device_id table for both the I2C and SPI drivers. Signed-off-by: Nuno Sa Link: https://patch.msgid.link/20241021-adau1372-of-table-v1-1-6efbc7946957@analog.com Signed-off-by: Mark Brown --- sound/soc/codecs/adau1372.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sound/soc/codecs/adau1372.h') 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)); -- cgit v1.2.3