projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
025257c
)
[MTD] Remove unnecessary user space check from mtd.h.
author
Robert P. J. Day
<rpjday@mindspring.com>
Thu, 3 May 2007 19:58:49 +0000
(15:58 -0400)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/mtd/mtd.h
b/include/linux/mtd/mtd.h
index 45d482ce8397cf2920ac44919121bf3cb334100a..12a9a18f6e16cac116198bb141e357b0c5354c6f 100644
(file)
--- 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>