diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-09-19 18:43:42 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-09-19 18:43:42 +0000 |
commit | 83915a8d78db3446f05dcaad992afd53256f36ea (patch) | |
tree | 466b403ded5a269b8e2e5009803534dc27e78300 /target/linux/ar71xx/files/arch/mips/ath79/dev-nfc.c | |
parent | d6fef0cb396801ccf8bc507244a6ac3874fc12cc (diff) | |
download | mtk-20170518-83915a8d78db3446f05dcaad992afd53256f36ea.zip mtk-20170518-83915a8d78db3446f05dcaad992afd53256f36ea.tar.gz mtk-20170518-83915a8d78db3446f05dcaad992afd53256f36ea.tar.bz2 |
ar71xx: add ath79_nfc_set_ecc_mode helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38070
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/dev-nfc.c')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/dev-nfc.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 5208279..d140cd0 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; |