K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / src / linux-headers-3.13.0-24 / include / linux /
server ip : 104.21.89.46

your ip : 172.69.214.188

H O M E


Filename/usr/src/linux-headers-3.13.0-24/include/linux/of_mtd.h
Size749
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 09:50
Last modified20-Jan-2014 10:40
Last accessed06-Jul-2025 05:39
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
/*
* Copyright 2012 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
*
* OF helpers for mtd.
*
* This file is released under the GPLv2
*/

#ifndef __LINUX_OF_MTD_H
#define __LINUX_OF_NET_H

#ifdef CONFIG_OF_MTD

#include <linux/of.h>
int of_get_nand_ecc_mode(struct device_node *np);
int of_get_nand_bus_width(struct device_node *np);
bool of_get_nand_on_flash_bbt(struct device_node *np);

#else /* CONFIG_OF_MTD */

static inline int of_get_nand_ecc_mode(struct device_node *np)
{
return -ENOSYS;
}

static inline int of_get_nand_bus_width(struct device_node *np)
{
return -ENOSYS;
}

static inline bool of_get_nand_on_flash_bbt(struct device_node *np)
{
return false;
}

#endif /* CONFIG_OF_MTD */

#endif /* __LINUX_OF_MTD_H */