summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorRobert P. J. Day2007-05-03 21:58:49 +0200
committerDavid Woodhouse2007-05-09 14:24:37 +0200
commit36200b76008d52d16b170d4f7dae9cfe00f5eb2b (patch)
treeb1c37e3f80c0a6c1fb43e919552eb0b15241a17a /include/linux
parent[MTD] [MAPS] Remove flash maps for no longer supported 405LP boards (diff)
downloadkernel-qcow2-linux-36200b76008d52d16b170d4f7dae9cfe00f5eb2b.tar.gz
kernel-qcow2-linux-36200b76008d52d16b170d4f7dae9cfe00f5eb2b.tar.xz
kernel-qcow2-linux-36200b76008d52d16b170d4f7dae9cfe00f5eb2b.zip
[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')
-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 45d482ce8397..12a9a18f6e16 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>