static inline struct spi_driver *to_spi_driver(struct device_driver *drv)
{
return drv ? container_of(drv, struct spi_driver, driver) : NULL;
-@@ -682,6 +716,11 @@ struct spi_controller {
+@@ -683,6 +717,11 @@ struct spi_controller {
void *dummy_rx;
void *dummy_tx;
int (*fw_translate_cs)(struct spi_controller *ctlr, unsigned cs);
/*
-@@ -1489,6 +1528,9 @@ spi_register_board_info(struct spi_board
+@@ -1490,6 +1529,9 @@ spi_register_board_info(struct spi_board
{ return 0; }
#endif