Linux Kernel
3.7.1
|
#include <mcp251x.h>
Data Fields | |
unsigned long | oscillator_frequency |
unsigned long | irq_flags |
int(* | board_specific_setup )(struct spi_device *spi) |
int(* | transceiver_enable )(int enable) |
int(* | power_enable )(int enable) |
struct mcp251x_platform_data - MCP251X SPI CAN controller platform data : - oscillator frequency in Hz : - IRQF configuration flags : - called before probing the chip (power,reset) : - called to power on/off the transceiver : - called to power on/off the mcp and the transceiver
Please note that you should define power_enable or transceiver_enable or none of them. Defining both of them is no use.