summaryrefslogtreecommitdiffstats
path: root/include/mtd/mtd-abi.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-09-25 22:52:21 +0200
committerDavid Woodhouse <dwmw2@infradead.org>2006-09-25 22:52:21 +0200
commit9663265626fd683faa3f7a994bb6db073581807e (patch)
tree9e74398508e72dbe3c7181c0348f00eaa15b8f49 /include/mtd/mtd-abi.h
parent[MTD NAND] Allow override of page read and write functions. (diff)
downloadlinux-9663265626fd683faa3f7a994bb6db073581807e.tar.xz
linux-9663265626fd683faa3f7a994bb6db073581807e.zip
[MTD] Remove #ifndef __KERNEL__ hack in <mtd/mtd-abi.h>
Now that we have headers_install, we don't need this crap. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/mtd/mtd-abi.h')
-rw-r--r--include/mtd/mtd-abi.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h
index b0a67b7ffdcd..f913c30d7b89 100644
--- a/include/mtd/mtd-abi.h
+++ b/include/mtd/mtd-abi.h
@@ -7,12 +7,6 @@
#ifndef __MTD_ABI_H__
#define __MTD_ABI_H__
-#ifndef __KERNEL__
-/* Urgh. The whole point of splitting this out into
- separate files was to avoid #ifdef __KERNEL__ */
-#define __user
-#endif
-
struct erase_info_user {
uint32_t start;
uint32_t length;