diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 29dbbd793fc6..7978f6c01ef7 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -1645,6 +1645,10 @@ static int soc_probe(struct platform_device *pdev) if (!card) return -EINVAL; + dev_warn(&pdev->dev, + "ASoC machine %s should use snd_soc_register_card()\n", + card->name); + /* Bodge while we unpick instantiation */ card->dev = &pdev->dev;