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

Commit 719c0c59 authored by Johannes Stezenbach's avatar Johannes Stezenbach Committed by Jens Axboe
Browse files

compat_ioctl: fix make headers_check regression



Fix headers_check error introduced by 390192b3:

include/linux/fd.h:6: included file 'linux/compat.h' is not exported

Signed-off-by: default avatarJohannes Stezenbach <js@sig21.net>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 0f799603
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -3,7 +3,6 @@


#include <linux/ioctl.h>
#include <linux/ioctl.h>
#include <linux/compiler.h>
#include <linux/compiler.h>
#include <linux/compat.h>


/* New file layout: Now the ioctl definitions immediately follow the
/* New file layout: Now the ioctl definitions immediately follow the
 * definitions of the structures that they use */
 * definitions of the structures that they use */
@@ -378,7 +377,11 @@ struct floppy_raw_cmd {
#define FDEJECT _IO(2, 0x5a)
#define FDEJECT _IO(2, 0x5a)
/* eject the disk */
/* eject the disk */



#ifdef __KERNEL__
#ifdef CONFIG_COMPAT
#ifdef CONFIG_COMPAT
#include <linux/compat.h>

struct compat_floppy_struct {
struct compat_floppy_struct {
	compat_uint_t	size;
	compat_uint_t	size;
	compat_uint_t	sect;
	compat_uint_t	sect;
@@ -394,5 +397,6 @@ struct compat_floppy_struct {


#define FDGETPRM32 _IOR(2, 0x04, struct compat_floppy_struct)
#define FDGETPRM32 _IOR(2, 0x04, struct compat_floppy_struct)
#endif
#endif
#endif


#endif
#endif