PageRenderTime 15ms CodeModel.GetById 10ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/include/linux/can/platform/flexcan.h

https://github.com/airy09/android_kernel_sony_apq8064
C Header | 20 lines | 6 code | 3 blank | 11 comment | 0 complexity | 5f42257c14dece68bc32f4010b1d6d09 MD5 | raw file
 1/*
 2 * Copyright (C) 2010 Marc Kleine-Budde <kernel@pengutronix.de>
 3 *
 4 * This file is released under the GPLv2
 5 *
 6 */
 7
 8#ifndef __CAN_PLATFORM_FLEXCAN_H
 9#define __CAN_PLATFORM_FLEXCAN_H
10
11/**
12 * struct flexcan_platform_data - flex CAN controller platform data
13 * @transceiver_enable:         - called to power on/off the transceiver
14 *
15 */
16struct flexcan_platform_data {
17	void (*transceiver_switch)(int enable);
18};
19
20#endif /* __CAN_PLATFORM_FLEXCAN_H */