mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
[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>
This commit is contained in:
1 parent
956e944c76
commit
9663265626
2 files changed
+1
-8
No files matched your search
+1
-2
@@ -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
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user