flexcan.h 452 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (C) 2010 Marc Kleine-Budde <kernel@pengutronix.de>
  3. *
  4. * This file is released under the GPLv2
  5. *
  6. */
  7. #ifndef __CAN_PLATFORM_FLEXCAN_H
  8. #define __CAN_PLATFORM_FLEXCAN_H
  9. /**
  10. * struct flexcan_platform_data - flex CAN controller platform data
  11. * @transceiver_enable: - called to power on/off the transceiver
  12. *
  13. */
  14. struct flexcan_platform_data {
  15. void (*transceiver_switch)(int enable);
  16. };
  17. #endif /* __CAN_PLATFORM_FLEXCAN_H */