From 83915a8d78db3446f05dcaad992afd53256f36ea Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 19 Sep 2013 18:43:42 +0000 Subject: ar71xx: add ath79_nfc_set_ecc_mode helper Signed-off-by: Gabor Juhos SVN-Revision: 38070 --- target/linux/ar71xx/files/arch/mips/ath79/dev-nfc.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target/linux/ar71xx/files/arch/mips/ath79/dev-nfc.c') diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-nfc.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-nfc.c index 5208279ad9..d140cd0eab 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/dev-nfc.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-nfc.c @@ -119,6 +119,11 @@ void __init ath79_nfc_set_swap_dma(bool enable) ath79_nfc_data.swap_dma = enable; } +void __init ath79_nfc_set_ecc_mode(enum ar934x_nfc_ecc_mode mode) +{ + ath79_nfc_data.ecc_mode = mode; +} + void __init ath79_nfc_set_parts(struct mtd_partition *parts, int nr_parts) { ath79_nfc_data.parts = parts; -- cgit v1.2.3