struct at91_can_data was used to pass a callback to the driver, allowing it to switch the transceiver on and off. As all at91 boards are now using DT, this is not used anymore, remove that structure.
Showing the changes to include/linux/platform_data (1 of 2 files). Show all
Unified · Split
| @@ -74,11 +74,6 @@ struct atmel_uart_data { · 73 unmodified lines | |||
| 74 | struct serial_rs485 rs485; /* rs485 settings */ | 74 | struct serial_rs485 rs485; /* rs485 settings */ |
| 75 | }; | 75 | }; |
| 76 | 76 | ||
| 77 | /* CAN */ | ||
| 78 | struct at91_can_data { | ||
| 79 | void (*transceiver_switch)(int on); | ||
| 80 | }; | ||
| 81 | |||
| 82 | /* FIXME: this needs a better location, but gets stuff building again */ | 77 | /* FIXME: this needs a better location, but gets stuff building again */ |
| 83 | extern int at91_suspend_entering_slow_clock(void); | 78 | extern int at91_suspend_entering_slow_clock(void); |
| 84 | 79 | ||