projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
643de62
)
xhci-hcd: Include <linux/slab.h> in xhci-pci.c
author
Ben Hutchings
<
[email protected]
>
Mon, 25 Apr 2011 15:54:28 +0000
(16:54 +0100)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sat, 30 Apr 2011 00:33:12 +0000
(17:33 -0700)
Commit
b02d0ed677acb3465e7600366f2353413bf24074
('xhci: Change
hcd_priv into a pointer') added calls to kzalloc() and kfree() in
xhci-pci.c. On most architectures <linux/slab.h> is indirectly
included, but on some it is not.
Signed-off-by: Ben Hutchings <
[email protected]
>
Cc: Sarah Sharp <
[email protected]
>,
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/host/xhci-pci.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci-pci.c
b/drivers/usb/host/xhci-pci.c
index a10494c2f3c7749a83fe52b2479c469da47e9d0e..cbc4d491e62677ada81e90b11320a3d746051749 100644
(file)
--- a/
drivers/usb/host/xhci-pci.c
+++ b/
drivers/usb/host/xhci-pci.c
@@
-21,6
+21,7
@@
*/
#include <linux/pci.h>
+#include <linux/slab.h>
#include "xhci.h"