aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-05-03 15:58:49 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2007-05-09 13:24:37 +0100
commit36200b76008d52d16b170d4f7dae9cfe00f5eb2b (patch)
treeb1c37e3f80c0a6c1fb43e919552eb0b15241a17a /include/linux/mtd
parent025257c7a7665a117b72097cc12021140eac8a34 (diff)
[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@mindspring.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/mtd.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 45d482ce839..12a9a18f6e1 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>