Skip to content

Commit

Permalink
xhci-hcd: Include <linux/slab.h> in xhci-pci.c
Browse files Browse the repository at this point in the history
Commit b02d0ed ('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>
  • Loading branch information
Ben Hutchings authored and Greg Kroah-Hartman committed Apr 30, 2011
1 parent 643de62 commit 7fc2a61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/usb/host/xhci-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*/

#include <linux/pci.h>
#include <linux/slab.h>

#include "xhci.h"

Expand Down

0 comments on commit 7fc2a61

Please sign in to comment.