diff options
Diffstat (limited to 'include/linux/can/platform/mcp251x.h')
-rw-r--r-- | include/linux/can/platform/mcp251x.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/can/platform/mcp251x.h b/include/linux/can/platform/mcp251x.h index dba28268e651..089fe43211a4 100644 --- a/include/linux/can/platform/mcp251x.h +++ b/include/linux/can/platform/mcp251x.h | |||
@@ -12,7 +12,7 @@ | |||
12 | /** | 12 | /** |
13 | * struct mcp251x_platform_data - MCP251X SPI CAN controller platform data | 13 | * struct mcp251x_platform_data - MCP251X SPI CAN controller platform data |
14 | * @oscillator_frequency: - oscillator frequency in Hz | 14 | * @oscillator_frequency: - oscillator frequency in Hz |
15 | * @model: - actual type of chip | 15 | * @irq_flags: - IRQF configuration flags |
16 | * @board_specific_setup: - called before probing the chip (power,reset) | 16 | * @board_specific_setup: - called before probing the chip (power,reset) |
17 | * @transceiver_enable: - called to power on/off the transceiver | 17 | * @transceiver_enable: - called to power on/off the transceiver |
18 | * @power_enable: - called to power on/off the mcp *and* the | 18 | * @power_enable: - called to power on/off the mcp *and* the |
@@ -25,9 +25,7 @@ | |||
25 | 25 | ||
26 | struct mcp251x_platform_data { | 26 | struct mcp251x_platform_data { |
27 | unsigned long oscillator_frequency; | 27 | unsigned long oscillator_frequency; |
28 | int model; | 28 | unsigned long irq_flags; |
29 | #define CAN_MCP251X_MCP2510 0x2510 | ||
30 | #define CAN_MCP251X_MCP2515 0x2515 | ||
31 | int (*board_specific_setup)(struct spi_device *spi); | 29 | int (*board_specific_setup)(struct spi_device *spi); |
32 | int (*transceiver_enable)(int enable); | 30 | int (*transceiver_enable)(int enable); |
33 | int (*power_enable) (int enable); | 31 | int (*power_enable) (int enable); |