diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-08 13:37:28 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-08 13:37:28 +0200 |
commit | 660fc0ad87a71dc51980e1ddb511d12382e052d0 (patch) | |
tree | d054a53ef8e1e4ce02f21a559c51957d8bd43d49 /include/linux | |
parent | 0316be12a51b3301dd78ef661e5d72e04b7de5cc (diff) | |
parent | 2ec908609f367bccfc9472647d4d34ed406a7104 (diff) | |
download | barebox-660fc0ad87a71dc51980e1ddb511d12382e052d0.tar.gz barebox-660fc0ad87a71dc51980e1ddb511d12382e052d0.tar.xz |
Merge branch 'for-next/mtd-imx-nand'
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mtd/mtd.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index 18d886649a..f93fac00f2 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h @@ -315,25 +315,6 @@ int mtd_block_markgood(struct mtd_info *mtd, loff_t ofs); int mtd_buf_all_ff(const void *buf, unsigned int len); int mtd_buf_check_pattern(const void *buf, uint8_t patt, int size); -/* - * Debugging macro and defines - */ -#define MTD_DEBUG_LEVEL0 (0) /* Quiet */ -#define MTD_DEBUG_LEVEL1 (1) /* Audible */ -#define MTD_DEBUG_LEVEL2 (2) /* Loud */ -#define MTD_DEBUG_LEVEL3 (3) /* Noisy */ - -#ifdef CONFIG_MTD_DEBUG -#define MTD_DEBUG(n, args...) \ - do { \ - if (n <= CONFIG_MTD_DEBUG_VERBOSE) \ - pr_info( args); \ - } while(0) -#else /* CONFIG_MTD_DEBUG */ -#define MTD_DEBUG(n, args...) do { } while(0) - -#endif /* CONFIG_MTD_DEBUG */ - static inline int mtd_is_bitflip(int err) { return err == -EUCLEAN; } |