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
Kirill Smelkov
linux
Commits
4bc7f170
Commit
4bc7f170
authored
May 22, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usb.h #include dependancies and whitespace cleanup
parent
279f149e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
59 deletions
+54
-59
drivers/usb/core/hub.c
drivers/usb/core/hub.c
+1
-0
include/linux/usb.h
include/linux/usb.h
+53
-59
No files found.
drivers/usb/core/hub.c
View file @
4bc7f170
...
...
@@ -17,6 +17,7 @@
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/smp_lock.h>
#include <linux/ioctl.h>
#ifdef CONFIG_USB_DEBUG
#define DEBUG
#else
...
...
include/linux/usb.h
View file @
4bc7f170
#ifndef __LINUX_USB_H
#define __LINUX_USB_H
#include <linux/device.h>
#include <linux/errno.h>
/* USB constants */
/*
...
...
@@ -96,19 +93,17 @@
#define USB_REQ_SET_INTERFACE 0x0B
#define USB_REQ_SYNCH_FRAME 0x0C
#define USB_MAJOR 180
#ifdef __KERNEL__
#include <linux/types.h>
#include <linux/ioctl.h>
#include <linux/version.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
/* for in_interrupt() */
#include <linux/config.h>
#include <linux/list.h>
#include <linux/delay.h>
/* for mdelay() */
#include <linux/interrupt.h>
/* for in_interrupt() */
#include <linux/list.h>
/* for struct list_head */
#include <linux/device.h>
/* for struct device */
#define USB_MAJOR 180
static
__inline__
void
wait_ms
(
unsigned
int
ms
)
{
...
...
@@ -980,7 +975,6 @@ static inline void usb_fill_bulk_urb (struct urb *urb,
int
buffer_length
,
usb_complete_t
complete
,
void
*
context
)
{
spin_lock_init
(
&
urb
->
lock
);
urb
->
dev
=
dev
;
...
...
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