summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-pci.c
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2011-04-25 16:54:28 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-29 17:33:12 -0700
commit7fc2a61638ef78cdf8d65d5934782963a6e0fc66 (patch)
tree731fcb4e1127baef5ce8e1b5f03a4b9c8e93df85 /drivers/usb/host/xhci-pci.c
parent643de6240b0b59c420ad71dfeeb3125a3607af92 (diff)
xhci-hcd: Include <linux/slab.h> in xhci-pci.c
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 <ben@decadent.org.uk> Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com>, Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/xhci-pci.c')
-rw-r--r--drivers/usb/host/xhci-pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index a10494c2f3c7..cbc4d491e626 100644
--- 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"