Message ID | 20240424150657.9678-4-fancer.lancer@gmail.com |
---|---|
State | Accepted |
Commit | 33c85972d1e4952a8c93ec260be2e6ff4470e619 |
Headers | show |
Series | spi: dw: Auto-detect number of native CS | expand |
diff --git a/drivers/spi/spi-dw.h b/drivers/spi/spi-dw.h index 6cafeee8ee2a..fc267c6437ae 100644 --- a/drivers/spi/spi-dw.h +++ b/drivers/spi/spi-dw.h @@ -164,8 +164,8 @@ struct dw_spi { u32 max_freq; /* max bus freq supported */ u32 reg_io_width; /* DR I/O width in bytes */ + u32 num_cs; /* chip select lines */ u16 bus_num; - u16 num_cs; /* supported slave numbers */ void (*set_cs)(struct spi_device *spi, bool enable); /* Current message transfer state info */