diff options
author | Andy Shevchenko <[email protected]> | 2024-06-06 00:27:27 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-06-10 12:48:39 +0100 |
commit | e9bf7ed59d2e4a1d071f11ff8d04895377970e42 (patch) | |
tree | 6a8ed4b3b949f0b8c9cb13b3a64a8ea703c98e07 | |
parent | 640557f3de900974d35a46f5a7b0f2161fe2ba35 (diff) |
ASoC: codecs: 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.
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Heiko Stuebner <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
-rw-r--r-- | sound/soc/codecs/aw88395/aw88395.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/aw88399.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/aw88395/aw88395.c b/sound/soc/codecs/aw88395/aw88395.c index 3c459a67ad0c..be6ebcb51cca 100644 --- a/sound/soc/codecs/aw88395/aw88395.c +++ b/sound/soc/codecs/aw88395/aw88395.c @@ -8,9 +8,9 @@ // Author: Weidong Wang <[email protected]> // +#include <linux/gpio/consumer.h> #include <linux/i2c.h> #include <linux/firmware.h> -#include <linux/of_gpio.h> #include <linux/regmap.h> #include <sound/soc.h> #include "aw88395.h" diff --git a/sound/soc/codecs/aw88399.c b/sound/soc/codecs/aw88399.c index df6d52a1cfef..5d8481612eab 100644 --- a/sound/soc/codecs/aw88399.c +++ b/sound/soc/codecs/aw88399.c @@ -8,9 +8,9 @@ // #include <linux/crc32.h> +#include <linux/gpio/consumer.h> #include <linux/i2c.h> #include <linux/firmware.h> -#include <linux/of_gpio.h> #include <linux/regmap.h> #include <sound/soc.h> #include "aw88399.h" |