net: ethernet: mediatek: get the chip id by ETHDMASYS registers
[cascardo/linux.git] / drivers / spi / spi-fsl-lib.h
index 84f5dcb..2925c80 100644 (file)
 /* SPI/eSPI Controller driver's private data. */
 struct mpc8xxx_spi {
        struct device *dev;
-       void *reg_base;
+       void __iomem *reg_base;
 
        /* rx & tx bufs from the spi_transfer */
        const void *tx;
        void *rx;
 #if IS_ENABLED(CONFIG_SPI_FSL_ESPI)
        int len;
+       u8 *local_buf;
 #endif
 
        int subblock;