]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: rockchip: rockchip_sai: #include <linux/platform_device.h> explicitly
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Wed, 24 Jun 2026 08:37:07 +0000 (10:37 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 24 Jun 2026 11:59:54 +0000 (12:59 +0100)
commit83d53eca7e5512b53ecef6cf67ea8cbfb595516e
tree5e91d8d7997ed7ddc69c981b52a30432091ba8cb
parentd0c415f0076b71b956f62ff6f31de885f0fa2489
ASoC: rockchip: rockchip_sai: #include <linux/platform_device.h> explicitly

Currently that header is only included via:

<sound/dmaengine_pcm.h> ->
<sound/soc.h> ->
<linux/platform_device.h>

which doesn't look reliable, still more in the presence of the comment:

/* For the current users of sound/soc.h to avoid build issues */

in <sound/soc.h>.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Link: https://patch.msgid.link/20260624083708.254517-2-u.kleine-koenig@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_sai.c