of_gpio.h is deprecated and subject to remove. The driver doesn't use it, simply remove the unused header. Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> --- drivers/media/rc/ir-spi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/rc/ir-spi.c b/drivers/media/rc/ir-spi.c index bbc81bed4f90..8afc3cd70b87 100644 --- a/drivers/media/rc/ir-spi.c +++ b/drivers/media/rc/ir-spi.c @@ -8,7 +8,6 @@ #include <linux/fs.h> #include <linux/module.h> #include <linux/mutex.h> -#include <linux/of_gpio.h> #include <linux/regulator/consumer.h> #include <linux/spi/spi.h> #include <media/rc-core.h> -- 2.43.0.rc1.1.gbec44491f096