diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-10-13 17:37:09 (GMT) |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-11-28 14:50:38 (GMT) |
commit | faee0cc33c3df3b63314926eecef77d384ae9cd4 (patch) | |
tree | 971935add9711984b519d5994de928dcee0c0c04 /arch/arm/mach-at91/board-snapper9260.c | |
parent | 4ab0c5998d327cba5b7e0dc8ce67f45859997669 (diff) | |
download | linux-faee0cc33c3df3b63314926eecef77d384ae9cd4.tar.xz |
ARM: at91: make smc register base soc independent
now sam9_smc_configure will take as first parameter is the SMC id
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/board-snapper9260.c')
-rw-r--r-- | arch/arm/mach-at91/board-snapper9260.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/board-snapper9260.c b/arch/arm/mach-at91/board-snapper9260.c index 0df01c6..645d833 100644 --- a/arch/arm/mach-at91/board-snapper9260.c +++ b/arch/arm/mach-at91/board-snapper9260.c @@ -149,7 +149,7 @@ static struct i2c_board_info __initdata snapper9260_i2c_devices[] = { static void __init snapper9260_add_device_nand(void) { at91_set_A_periph(AT91_PIN_PC14, 0); - sam9_smc_configure(3, &snapper9260_nand_smc_config); + sam9_smc_configure(0, 3, &snapper9260_nand_smc_config); at91_add_device_nand(&snapper9260_nand_data); } |