mcp251x.h 525 B

1234567891011121314151617181920212223
  1. #ifndef __CAN_PLATFORM_MCP251X_H__
  2. #define __CAN_PLATFORM_MCP251X_H__
  3. /*
  4. *
  5. * CAN bus driver for Microchip 251x CAN Controller with SPI Interface
  6. *
  7. */
  8. #include <linux/spi/spi.h>
  9. /*
  10. * struct mcp251x_platform_data - MCP251X SPI CAN controller platform data
  11. * @oscillator_frequency: - oscillator frequency in Hz
  12. * @irq_flags: - IRQF configuration flags
  13. */
  14. struct mcp251x_platform_data {
  15. unsigned long oscillator_frequency;
  16. unsigned long irq_flags;
  17. };
  18. #endif /* __CAN_PLATFORM_MCP251X_H__ */