diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2013-03-02 21:18:29 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2013-03-02 21:18:29 +0100 |
commit | 36467b5ae3de03a98f516714ce8c648f66ff70d9 (patch) | |
tree | 138124a975a1fd79c756ffc2ceab48e17518fdec /arch | |
parent | 80be7c3f096456c143fd70b1c5e22492e8713c60 (diff) |
apalis_t30: fix can init naming
Fix naming of CAN initialisation function.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/board-apalis_t30.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-apalis_t30.c b/arch/arm/mach-tegra/board-apalis_t30.c index c30184bdd4b8..c2e7d314730d 100644 --- a/arch/arm/mach-tegra/board-apalis_t30.c +++ b/arch/arm/mach-tegra/board-apalis_t30.c @@ -120,14 +120,14 @@ static struct spi_board_info can_board_info[] = { }, }; -static void __init apalis_t20_mcp2515_can_init(void) +static void __init apalis_t30_mcp2515_can_init(void) { can_board_info[0].irq = gpio_to_irq(CAN1_INT); can_board_info[1].irq = gpio_to_irq(CAN2_INT); spi_register_board_info(can_board_info, ARRAY_SIZE(can_board_info)); } #else /* CONFIG_CAN_MCP251X | CONFIG_CAN_MCP251X_MODULE */ -#define apalis_t20_mcp2515_can_init() do {} while (0) +#define apalis_t30_mcp2515_can_init() do {} while (0) #endif /* CONFIG_CAN_MCP251X | CONFIG_CAN_MCP251X_MODULE */ /* CEC */ @@ -1201,7 +1201,7 @@ static void __init apalis_t30_init(void) tegra_wdt_recovery_init(); #endif tegra_serial_debug_init(TEGRA_UARTD_BASE, INT_WDT_CPU, NULL, -1, -1); - apalis_t20_mcp2515_can_init(); + apalis_t30_mcp2515_can_init(); apalis_t30_gpio_init(); } |