git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
drivers
/
usb
/
host
/
ohci-mem.c
diff --git
a/drivers/usb/host/ohci-mem.c
b/drivers/usb/host/ohci-mem.c
index
e55682b
..
bfbe328
100644
(file)
--- a/
drivers/usb/host/ohci-mem.c
+++ b/
drivers/usb/host/ohci-mem.c
@@
-28,7
+28,7
@@
static void ohci_hcd_init (struct ohci_hcd *ohci)
ohci->next_statechange = jiffies;
spin_lock_init (&ohci->lock);
INIT_LIST_HEAD (&ohci->pending);
ohci->next_statechange = jiffies;
spin_lock_init (&ohci->lock);
INIT_LIST_HEAD (&ohci->pending);
-
INIT_WORK (&ohci->rh_resume, ohci_rh_resume, ohci_to_hcd(ohci))
;
+
ohci->reboot_notifier.notifier_call = ohci_reboot
;
}
/*-------------------------------------------------------------------------*/
}
/*-------------------------------------------------------------------------*/
@@
-83,7
+83,7
@@
dma_to_td (struct ohci_hcd *hc, dma_addr_t td_dma)
/* TDs ... */
static struct td *
/* TDs ... */
static struct td *
-td_alloc (struct ohci_hcd *hc,
in
t mem_flags)
+td_alloc (struct ohci_hcd *hc,
gfp_
t mem_flags)
{
dma_addr_t dma;
struct td *td;
{
dma_addr_t dma;
struct td *td;
@@
-117,7
+117,7
@@
td_free (struct ohci_hcd *hc, struct td *td)
/* EDs ... */
static struct ed *
/* EDs ... */
static struct ed *
-ed_alloc (struct ohci_hcd *hc,
in
t mem_flags)
+ed_alloc (struct ohci_hcd *hc,
gfp_
t mem_flags)
{
dma_addr_t dma;
struct ed *ed;
{
dma_addr_t dma;
struct ed *ed;