[MTD] Remove unnecessary user space check from mtd.h.

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed May 9 08:59:01 EDT 2007


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=36200b76008d52d16b170d4f7dae9cfe00f5eb2b
Commit:     36200b76008d52d16b170d4f7dae9cfe00f5eb2b
Parent:     025257c7a7665a117b72097cc12021140eac8a34
Author:     Robert P. J. Day <rpjday at mindspring.com>
AuthorDate: Thu May 3 15:58:49 2007 -0400
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Wed May 9 13:24:37 2007 +0100

    [MTD] Remove unnecessary user space check from mtd.h.
    
    Since the header file include/linux/mtd/mtd.h is not exported to user
    space, remove the user space check and error.
    
    Signed-off-by: Robert P. J. Day <rpjday at mindspring.com>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 include/linux/mtd/mtd.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 45d482c..12a9a18 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -9,10 +9,6 @@
 #ifndef __MTD_MTD_H__
 #define __MTD_MTD_H__
 
-#ifndef __KERNEL__
-#error This is a kernel header. Perhaps include mtd-user.h instead?
-#endif
-
 #include <linux/types.h>
 #include <linux/module.h>
 #include <linux/uio.h>



More information about the linux-mtd-cvs mailing list