Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15507
b: refs/heads/master
c: aafbf24
h: refs/heads/master
i:
  15505: 4d89a22
  15503: 8760030
v: v3
  • Loading branch information
Pete Zaitcev authored and Greg Kroah-Hartman committed Jan 4, 2006
1 parent 6b1e6bb commit 80220d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 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: 5e0f76c6bbc0d26cd9625876f7beeb7b002f39bf
refs/heads/master: aafbf24a1129480157af7ee780eddcea9b76ee5c
13 changes: 1 addition & 12 deletions trunk/drivers/usb/core/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
const char *usbcore_name = "usbcore";

static int nousb; /* Disable USB when built into kernel image */
/* Not honored on modular build */


/**
Expand Down Expand Up @@ -1096,18 +1095,8 @@ struct bus_type usb_bus_type = {
.resume = usb_generic_resume,
};

#ifndef MODULE

static int __init usb_setup_disable(char *str)
{
nousb = 1;
return 1;
}

/* format to disable USB on kernel command line is: nousb */
__setup("nousb", usb_setup_disable);

#endif
__module_param_call("", nousb, param_set_bool, param_get_bool, &nousb, 0444);

/*
* for external read access to <nousb>
Expand Down

0 comments on commit 80220d5

Please sign in to comment.