The header file linux/platform_device.h is included twice. Remove the last one. Signed-off-by: Hongbo Li <lihongbo22@xxxxxxxxxx> --- drivers/spi/spi-ppc4xx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/spi-ppc4xx.c b/drivers/spi/spi-ppc4xx.c index 6071f83dd9c8..36722fa6c8bf 100644 --- a/drivers/spi/spi-ppc4xx.c +++ b/drivers/spi/spi-ppc4xx.c @@ -30,7 +30,6 @@ #include <linux/of_platform.h> #include <linux/interrupt.h> #include <linux/delay.h> -#include <linux/platform_device.h> #include <linux/spi/spi.h> #include <linux/spi/spi_bitbang.h> -- 2.34.1