xhci-hcd: Include <linux/slab.h> in xhci-pci.c
authorBen Hutchings <ben@decadent.org.uk>
Mon, 25 Apr 2011 15:54:28 +0000 (16:54 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
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 <ben@decadent.org.uk>
Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com>,
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci-pci.c

index a10494c..cbc4d49 100644 (file)
@@ -21,6 +21,7 @@
  */
 
 #include <linux/pci.h>
  */
 
 #include <linux/pci.h>
+#include <linux/slab.h>
 
 #include "xhci.h"
 
 
 #include "xhci.h"