Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
eae19a76
Commit
eae19a76
authored
Apr 25, 2006
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't export CONFIG_COMPAT stuff in linux/usbdevice_fs.h to userspace
Signed-off-by:
David Woodhouse
<
dwmw2@infradead.org
>
parent
468db836
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
include/linux/usbdevice_fs.h
include/linux/usbdevice_fs.h
+2
-0
No files found.
include/linux/usbdevice_fs.h
View file @
eae19a76
...
@@ -123,6 +123,7 @@ struct usbdevfs_hub_portinfo {
...
@@ -123,6 +123,7 @@ struct usbdevfs_hub_portinfo {
char
port
[
127
];
/* e.g. port 3 connects to device 27 */
char
port
[
127
];
/* e.g. port 3 connects to device 27 */
};
};
#ifdef __KERNEL__
#ifdef CONFIG_COMPAT
#ifdef CONFIG_COMPAT
#include <linux/compat.h>
#include <linux/compat.h>
struct
usbdevfs_urb32
{
struct
usbdevfs_urb32
{
...
@@ -147,6 +148,7 @@ struct usbdevfs_ioctl32 {
...
@@ -147,6 +148,7 @@ struct usbdevfs_ioctl32 {
compat_caddr_t
data
;
compat_caddr_t
data
;
};
};
#endif
#endif
#endif
/* __KERNEL__ */
#define USBDEVFS_CONTROL _IOWR('U', 0, struct usbdevfs_ctrltransfer)
#define USBDEVFS_CONTROL _IOWR('U', 0, struct usbdevfs_ctrltransfer)
#define USBDEVFS_BULK _IOWR('U', 2, struct usbdevfs_bulktransfer)
#define USBDEVFS_BULK _IOWR('U', 2, struct usbdevfs_bulktransfer)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment