Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[linux-2.6.git] / include / linux / of_mtd.h
blobed7f267e63897794773ee201e32ad01d89d7bd7d
1 /*
2 * Copyright 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
4 * OF helpers for mtd.
6 * This file is released under the GPLv2
7 */
9 #ifndef __LINUX_OF_MTD_H
10 #define __LINUX_OF_NET_H
12 #ifdef CONFIG_OF_MTD
13 #include <linux/of.h>
14 int of_get_nand_ecc_mode(struct device_node *np);
15 int of_get_nand_bus_width(struct device_node *np);
16 bool of_get_nand_on_flash_bbt(struct device_node *np);
17 #endif
19 #endif /* __LINUX_OF_MTD_H */