2014-05-16 02:31:56 +08:00
|
|
|
#ifndef _CAN_PLATFORM_MCP251X_H
|
|
|
|
#define _CAN_PLATFORM_MCP251X_H
|
2009-11-03 07:07:00 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
*
|
|
|
|
* CAN bus driver for Microchip 251x CAN Controller with SPI Interface
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/spi/spi.h>
|
|
|
|
|
2013-08-19 19:39:19 +08:00
|
|
|
/*
|
2009-11-03 07:07:00 +08:00
|
|
|
* struct mcp251x_platform_data - MCP251X SPI CAN controller platform data
|
|
|
|
* @oscillator_frequency: - oscillator frequency in Hz
|
|
|
|
*/
|
|
|
|
|
|
|
|
struct mcp251x_platform_data {
|
|
|
|
unsigned long oscillator_frequency;
|
|
|
|
};
|
|
|
|
|
2014-05-16 02:31:56 +08:00
|
|
|
#endif /* !_CAN_PLATFORM_MCP251X_H */
|