Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36200b76 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by David Woodhouse
Browse files

[MTD] Remove unnecessary user space check from mtd.h.



Since the header file include/linux/mtd/mtd.h is not exported to user
space, remove the user space check and error.

Signed-off-by: default avatarRobert P. J. Day <rpjday@mindspring.com>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 025257c7
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -9,10 +9,6 @@
#ifndef __MTD_MTD_H__
#define __MTD_MTD_H__

#ifndef __KERNEL__
#error This is a kernel header. Perhaps include mtd-user.h instead?
#endif

#include <linux/types.h>
#include <linux/module.h>
#include <linux/uio.h>