Skip to content

Commit

Permalink
[MTD] Remove #ifndef __KERNEL__ hack in <mtd/mtd-abi.h>
Browse files Browse the repository at this point in the history
Now that we have headers_install, we don't need this crap.

Signed-off-by: David Woodhouse <[email protected]>
  • Loading branch information
dwmw2 committed Sep 25, 2006
1 parent 956e944 commit 9663265
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 1 addition & 2 deletions include/mtd/Kbuild
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
unifdef-y := mtd-abi.h
header-y := inftl-user.h jffs2-user.h mtd-user.h nftl-user.h
header-y := inftl-user.h jffs2-user.h mtd-abi.h mtd-user.h nftl-user.h
6 changes: 0 additions & 6 deletions include/mtd/mtd-abi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9663265

Please sign in to comment.