diff options
| author | Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> | 2026-06-24 11:37:07 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-06-24 14:59:54 +0300 |
| commit | 83d53eca7e5512b53ecef6cf67ea8cbfb595516e (patch) | |
| tree | 5e91d8d7997ed7ddc69c981b52a30432091ba8cb | |
| parent | d0c415f0076b71b956f62ff6f31de885f0fa2489 (diff) | |
| download | linux-83d53eca7e5512b53ecef6cf67ea8cbfb595516e.tar.xz | |
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>
| -rw-r--r-- | sound/soc/rockchip/rockchip_sai.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/rockchip/rockchip_sai.c b/sound/soc/rockchip/rockchip_sai.c index ed393e5034a4..585e89f61f0d 100644 --- a/sound/soc/rockchip/rockchip_sai.c +++ b/sound/soc/rockchip/rockchip_sai.c @@ -11,6 +11,7 @@ #include <linux/delay.h> #include <linux/of_device.h> #include <linux/clk.h> +#include <linux/platform_device.h> #include <linux/pm_runtime.h> #include <linux/regmap.h> #include <linux/reset.h> |
