}
#endif
-struct nand_ecclayout fake_ecc_layout;
+static struct nand_ecclayout fake_ecc_layout;
static int chunk_data_size = MXS_NAND_CHUNK_DATA_CHUNK_SIZE;
static int galois_field = 13;
mxs_dma_desc_append(channel, d);
-#ifndef CONFIG_SOC_MX6Q
+#ifndef CONFIG_ARCH_MX6
/*
* A DMA descriptor that waits for the command to end and the chip to
* become ready.
rtn:
mxs_nand_return_dma_descs(nand_info);
- return 0;
+ return ret;
}
/*