ar71xx: ar934x_nfc: allow to control DMA data swap via platform data

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34588
This commit is contained in:
Gabor Juhos
2012-12-10 10:38:07 +00:00
parent a07ddb955f
commit 1f7ae58a2c
6 changed files with 48 additions and 12 deletions

View File

@@ -22,6 +22,7 @@ struct ar934x_nfc_platform_data {
struct mtd_partition *parts;
int nr_parts;
bool swap_dma;
void (*hw_reset)(bool active);
void (*select_chip)(int chip_no);
int (*scan_fixup)(struct mtd_info *mtd);