History

can: at91: remove at91_can_data

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.

Alexandre Belloni committed 11 years ago

Commit 42160a01 parent ba61a8d2 files · +0 −26Browse files

Showing the changes to include/linux/platform_data (1 of 2 files). Show all

Unified · Split

include/linux/platform_data/atmel.h+0−5
@@ -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 */
78struct 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 */
83extern int at91_suspend_entering_slow_clock(void);78extern int at91_suspend_entering_slow_clock(void);
84 79

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t