Message ID | 20240530230037.1156253-6-andriy.shevchenko@linux.intel.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | ASoC: Drop or replace of_gpio.h | expand |
Hi > 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 <andriy.shevchenko@linux.intel.com> > --- Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> > sound/soc/generic/audio-graph-card2-custom-sample.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > 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 <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> > > -- > 2.43.0.rc1.1336.g36b5255a03ac >
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 <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>
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 <andriy.shevchenko@linux.intel.com> --- sound/soc/generic/audio-graph-card2-custom-sample.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)