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 a10494c2f3c7749a83fe52b2479c469da47e9d0e..cbc4d491e62677ada81e90b11320a3d746051749 100644 (file)
@@ -21,6 +21,7 @@
  */
 
 #include <linux/pci.h>
+#include <linux/slab.h>
 
 #include "xhci.h"