diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-09-25 16:52:21 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-09-25 16:52:21 -0400 |
commit | 9663265626fd683faa3f7a994bb6db073581807e (patch) | |
tree | 9e74398508e72dbe3c7181c0348f00eaa15b8f49 /include/mtd | |
parent | 956e944c7690ea994757a8cbedbb6241e1d9138f (diff) |
[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')
-rw-r--r-- | include/mtd/Kbuild | 3 | ||||
-rw-r--r-- | include/mtd/mtd-abi.h | 6 |
2 files changed, 1 insertions, 8 deletions
diff --git a/include/mtd/Kbuild b/include/mtd/Kbuild index e1da2a5b2a57..f2f210fc1ef2 100644 --- a/include/mtd/Kbuild +++ b/include/mtd/Kbuild | |||
@@ -1,2 +1 @@ | |||
1 | unifdef-y := mtd-abi.h | header-y := inftl-user.h jffs2-user.h mtd-abi.h mtd-user.h nftl-user.h | |
2 | header-y := inftl-user.h jffs2-user.h mtd-user.h nftl-user.h | ||
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 @@ | |||
7 | #ifndef __MTD_ABI_H__ | 7 | #ifndef __MTD_ABI_H__ |
8 | #define __MTD_ABI_H__ | 8 | #define __MTD_ABI_H__ |
9 | 9 | ||
10 | #ifndef __KERNEL__ | ||
11 | /* Urgh. The whole point of splitting this out into | ||
12 | separate files was to avoid #ifdef __KERNEL__ */ | ||
13 | #define __user | ||
14 | #endif | ||
15 | |||
16 | struct erase_info_user { | 10 | struct erase_info_user { |
17 | uint32_t start; | 11 | uint32_t start; |
18 | uint32_t length; | 12 | uint32_t length; |