The pdev member is unused neither do have barebox support for 'struct platform_device' so remove the usage. Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> --- drivers/spi/atmel-quadspi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/atmel-quadspi.c b/drivers/spi/atmel-quadspi.c index 55ebccc877..973d425a0d 100644 --- a/drivers/spi/atmel-quadspi.c +++ b/drivers/spi/atmel-quadspi.c @@ -157,7 +157,6 @@ struct atmel_qspi { void __iomem *mem; struct clk *pclk; struct clk *qspick; - struct platform_device *pdev; const struct atmel_qspi_caps *caps; u32 mr; }; -- 2.30.2