summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/nand_omap_bch_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/nand_omap_bch_decoder.h')
-rw-r--r--drivers/mtd/nand/nand_omap_bch_decoder.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mtd/nand/nand_omap_bch_decoder.h b/drivers/mtd/nand/nand_omap_bch_decoder.h
new file mode 100644
index 0000000000..74d24be028
--- /dev/null
+++ b/drivers/mtd/nand/nand_omap_bch_decoder.h
@@ -0,0 +1,6 @@
+#ifndef MTD_OMAP_GPMC_DECODE_BCH_H
+#define MTD_OMAP_GPMC_DECODE_BCH_H
+
+int omap_gpmc_decode_bch(int select_4_8, unsigned char *ecc, unsigned int *err_loc);
+
+#endif /* MTD_OMAP_GPMC_DECODE_BCH_H */ \ No newline at end of file