Commit 91c73041 authored by David Woodhouse's avatar David Woodhouse Committed by David Woodhouse

MTD userspace ABI: fix userspace compilation w.r.t. __user

Signed-Off-By: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent c1e4a3d9
/* /*
* $Id: mtd-abi.h,v 1.5 2004/06/22 09:29:35 gleixner Exp $ * $Id: mtd-abi.h,v 1.6 2004/08/09 13:38:30 dwmw2 Exp $
* *
* Portions of MTD ABI definition which are shared by kernel and user space * Portions of MTD ABI definition which are shared by kernel and user space
*/ */
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
#ifndef __MTD_ABI_H__ #ifndef __MTD_ABI_H__
#define __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 { struct erase_info_user {
uint32_t start; uint32_t start;
uint32_t length; uint32_t length;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment