]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: generic: Replace of_gpio.h by proper one
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 5 Jun 2024 21:27:28 +0000 (00:27 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 10 Jun 2024 11:48:39 +0000 (12:48 +0100)
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 <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240605221446.2624964-6-andriy.shevchenko@linux.intel.com
Reviewed-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/audio-graph-card2-custom-sample.c

index 1b6ccd2de9647b5465b1d629815a15b8d212c8c9..8e5a510984902eb637a9f592212ec88b498218ed 100644 (file)
@@ -5,8 +5,9 @@
 // Copyright (C) 2020 Renesas Electronics Corp.
 // Copyright (C) 2020 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
 //
+#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>