diff --git a/include/sound/soc.h b/include/sound/soc.h
index 93b7510e7f7dd917e12593672c1314b6d1a2db09..66aafadcf5ef507647097612189d1e37e1c5f811 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1481,9 +1481,15 @@ void snd_soc_of_parse_node_prefix(struct device_node *np,
 				   struct snd_soc_codec_conf *codec_conf,
 				   struct device_node *of_node,
 				   const char *propname);
-#define snd_soc_of_parse_audio_prefix(card, conf, node, name) \
-	snd_soc_of_parse_node_prefix((card)->dev->of_node,    \
-				     (conf), (node), (name))
+static inline
+void snd_soc_of_parse_audio_prefix(struct snd_soc_card *card,
+				   struct snd_soc_codec_conf *codec_conf,
+				   struct device_node *of_node,
+				   const char *propname)
+{
+	snd_soc_of_parse_node_prefix(card->dev->of_node,
+				     codec_conf, of_node, propname);
+}
 
 int snd_soc_of_parse_audio_routing(struct snd_soc_card *card,
 				   const char *propname);