RTEMS: cpukit/libfs/src/jffs2/include/linux/mtd/mtd.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
mtd.h
1#ifndef __LINUX_MTD_MTD_H__
2#define __LINUX_MTD_MTD_H__
3
4#include <linux/slab.h>
5#include <errno.h>
6
7#define MTD_FAIL_ADDR_UNKNOWN -1LL
8
9static inline int do_mtd_point(size_t *retlen, void **ebuf)
10{
11 *retlen = 0;
12 *ebuf = NULL;
13
14 return -EOPNOTSUPP;
15}
16
17#define mtd_point(a, b, c, d, e, f) do_mtd_point(d, e)
18
19#define mtd_unpoint(a, b, c) do { } while (0)
20
21#define mtd_kmalloc_up_to(a, b) kmalloc(*(b), GFP_KERNEL)
22
23#endif /* __LINUX_MTD_MTD_H__ */
NULL
#define NULL
Requests a GPIO pin group configuration.
Definition: bestcomm_api.h:77