Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258606
b: refs/heads/master
c: 719c0c5
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Stezenbach authored and Jens Axboe committed Jul 7, 2011
1 parent 521ffeb commit 287e243
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0f79960391a5a1e3679956024e18aeeb0369ac44
refs/heads/master: 719c0c590609809365c6f3da2f923cd84dc99113
6 changes: 5 additions & 1 deletion trunk/include/linux/fd.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

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

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


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

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

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

#endif

0 comments on commit 287e243

Please sign in to comment.