[MTD] Remove unnecessary user space check from mtd.h.
authorRobert P. J. Day <rpjday@mindspring.com>
Thu, 3 May 2007 19:58:49 +0000 (15:58 -0400)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 9 May 2007 12:24:37 +0000 (13:24 +0100)
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@mindspring.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/mtd/mtd.h

index 45d482ce8397cf2920ac44919121bf3cb334100a..12a9a18f6e16cac116198bb141e357b0c5354c6f 100644 (file)
@@ -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>