aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2024-06-06 00:27:28 +0300
committerMark Brown <[email protected]>2024-06-10 12:48:39 +0100
commit7a31da79c13ef6449c84f6007d81d1c082dd3aaf (patch)
treef02e1e89fe35d1a4385f95d9cc8956c1bfb42d54
parente9bf7ed59d2e4a1d071f11ff8d04895377970e42 (diff)
ASoC: generic: Replace of_gpio.h by proper one
of_gpio.h is deprecated and subject to remove. The driver doesn't use it directly, replace it with what is really being used. Acked-by: Kuninori Morimoto <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Kuninori Morimoto <[email protected]> Reviewed-by: Charles Keepax <[email protected]> Acked-by: Heiko Stuebner <[email protected]> Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--sound/soc/generic/audio-graph-card2-custom-sample.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/generic/audio-graph-card2-custom-sample.c b/sound/soc/generic/audio-graph-card2-custom-sample.c
index 1b6ccd2de964..8e5a51098490 100644
--- a/sound/soc/generic/audio-graph-card2-custom-sample.c
+++ b/sound/soc/generic/audio-graph-card2-custom-sample.c
@@ -5,8 +5,9 @@
// Copyright (C) 2020 Renesas Electronics Corp.
// Copyright (C) 2020 Kuninori Morimoto <[email protected]>
//
+#include <linux/device.h>
+#include <linux/mod_devicetable.h>
#include <linux/module.h>
-#include <linux/of_gpio.h>
#include <linux/platform_device.h>
#include <sound/graph_card.h>