Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268
b: refs/heads/master
c: 6d5e825
h: refs/heads/master
v: v3
  • Loading branch information
Greg KH committed Apr 19, 2005
1 parent eb77c39 commit a483d45
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 9 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: ba9d35fb01852e195f2a4ca975fdcd6578b52c78
refs/heads/master: 6d5e8254bf488a40b7ae2faafbffa232ab19d541
3 changes: 2 additions & 1 deletion trunk/drivers/usb/core/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
#include <linux/slab.h>
#include <linux/device.h>
#include <asm/byteorder.h>

#include "usb.h"
#include "hcd.h"

#define USB_MAXALTSETTING 128 /* Hard limit */
#define USB_MAXENDPOINTS 30 /* Hard limit */
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/usb/core/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
#include <linux/usbdevice_fs.h>
#include <asm/uaccess.h>

#include "usb.h"
#include "hcd.h"

#define MAX_TOPO_LEVEL 6
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/usb/core/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
#endif
#include <linux/usb.h>

#include "usb.h"

#define MAX_USB_MINORS 256
static struct file_operations *usb_minors[MAX_USB_MINORS];
static DEFINE_SPINLOCK(minor_lock);
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/usb/core/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include <linux/parser.h>
#include <asm/byteorder.h>
#include "usb.h"
#include "hcd.h"

static struct super_operations usbfs_ops;
static struct file_operations default_file_operations;
Expand Down
7 changes: 0 additions & 7 deletions trunk/drivers/usb/core/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,6 @@
#include "hcd.h"
#include "usb.h"

extern int usb_hub_init(void);
extern void usb_hub_cleanup(void);
extern int usb_major_init(void);
extern void usb_major_cleanup(void);
extern int usb_host_init(void);
extern void usb_host_cleanup(void);


const char *usbcore_name = "usbcore";

Expand Down
8 changes: 8 additions & 0 deletions trunk/drivers/usb/core/usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ extern void usb_unlock_all_devices(void);
extern void usb_kick_khubd(struct usb_device *dev);
extern void usb_resume_root_hub(struct usb_device *dev);

extern int usb_hub_init(void);
extern void usb_hub_cleanup(void);
extern int usb_major_init(void);
extern void usb_major_cleanup(void);
extern int usb_host_init(void);
extern void usb_host_cleanup(void);

/* for labeling diagnostics */
extern const char *usbcore_name;

Expand All @@ -30,6 +37,7 @@ extern struct file_operations usbfs_devices_fops;
extern struct file_operations usbfs_device_file_operations;
extern void usbfs_conn_disc_event(void);


struct dev_state {
struct list_head list; /* state list */
struct usb_device *dev;
Expand Down

0 comments on commit a483d45

Please sign in to comment.