Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

powerpc/52xx: 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 <andriy.shevchenko@linux.intel.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240313135645.2066362-1-andriy.shevchenko@linux.intel.com

authored by

Andy Shevchenko and committed by
Michael Ellerman
676abf7c 8884fc91

+1 -3
-2
arch/powerpc/platforms/52xx/mpc52xx_common.c
··· 12 12 13 13 #undef DEBUG 14 14 15 - #include <linux/gpio.h> 16 15 #include <linux/kernel.h> 17 16 #include <linux/spinlock.h> 18 17 #include <linux/of_address.h> 19 18 #include <linux/of_platform.h> 20 - #include <linux/of_gpio.h> 21 19 #include <linux/export.h> 22 20 #include <asm/io.h> 23 21 #include <asm/mpc52xx.h>
+1 -1
arch/powerpc/platforms/52xx/mpc52xx_gpt.c
··· 48 48 * the output mode. This driver does not change the output mode setting. 49 49 */ 50 50 51 + #include <linux/gpio/driver.h> 51 52 #include <linux/irq.h> 52 53 #include <linux/interrupt.h> 53 54 #include <linux/io.h> ··· 57 56 #include <linux/of.h> 58 57 #include <linux/of_address.h> 59 58 #include <linux/of_irq.h> 60 - #include <linux/of_gpio.h> 61 59 #include <linux/platform_device.h> 62 60 #include <linux/kernel.h> 63 61 #include <linux/property.h>