Oliver Hartkopp | 42193e3 | 2014-05-15 20:31:56 +0200 | [diff] [blame] | 1 | #ifndef _CAN_PLATFORM_MCP251X_H |
| 2 | #define _CAN_PLATFORM_MCP251X_H |
Christian Pellegrin | e000016 | 2009-11-02 23:07:00 +0000 | [diff] [blame] | 3 | |
| 4 | /* |
| 5 | * |
| 6 | * CAN bus driver for Microchip 251x CAN Controller with SPI Interface |
| 7 | * |
| 8 | */ |
| 9 | |
| 10 | #include <linux/spi/spi.h> |
| 11 | |
Alexander Shiyan | 1ddff7d | 2013-08-19 15:39:19 +0400 | [diff] [blame] | 12 | /* |
Christian Pellegrin | e000016 | 2009-11-02 23:07:00 +0000 | [diff] [blame] | 13 | * struct mcp251x_platform_data - MCP251X SPI CAN controller platform data |
| 14 | * @oscillator_frequency: - oscillator frequency in Hz |
Christian Pellegrin | e000016 | 2009-11-02 23:07:00 +0000 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | struct mcp251x_platform_data { |
| 18 | unsigned long oscillator_frequency; |
Christian Pellegrin | e000016 | 2009-11-02 23:07:00 +0000 | [diff] [blame] | 19 | }; |
| 20 | |
Oliver Hartkopp | 42193e3 | 2014-05-15 20:31:56 +0200 | [diff] [blame] | 21 | #endif /* !_CAN_PLATFORM_MCP251X_H */ |