aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-octeon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-octeon.c')
-rw-r--r--drivers/spi/spi-octeon.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-octeon.c b/drivers/spi/spi-octeon.c
index 862ef30853d3..31b41445a85e 100644
--- a/drivers/spi/spi-octeon.c
+++ b/drivers/spi/spi-octeon.c
@@ -37,7 +37,6 @@ struct octeon_spi_setup {
37 u32 max_speed_hz; 37 u32 max_speed_hz;
38 u8 chip_select; 38 u8 chip_select;
39 u8 mode; 39 u8 mode;
40 u8 bits_per_word;
41}; 40};
42 41
43static void octeon_spi_wait_ready(struct octeon_spi *p) 42static void octeon_spi_wait_ready(struct octeon_spi *p)
@@ -204,7 +203,6 @@ static struct octeon_spi_setup *octeon_spi_new_setup(struct spi_device *spi)
204 setup->max_speed_hz = spi->max_speed_hz; 203 setup->max_speed_hz = spi->max_speed_hz;
205 setup->chip_select = spi->chip_select; 204 setup->chip_select = spi->chip_select;
206 setup->mode = spi->mode; 205 setup->mode = spi->mode;
207 setup->bits_per_word = spi->bits_per_word;
208 return setup; 206 return setup;
209} 207}
210 208