diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2011-04-25 16:54:28 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-29 17:33:12 -0700 |
commit | 7fc2a61638ef78cdf8d65d5934782963a6e0fc66 (patch) | |
tree | 731fcb4e1127baef5ce8e1b5f03a4b9c8e93df85 | |
parent | 643de6240b0b59c420ad71dfeeb3125a3607af92 (diff) | |
download | op-kernel-dev-7fc2a61638ef78cdf8d65d5934782963a6e0fc66.zip op-kernel-dev-7fc2a61638ef78cdf8d65d5934782963a6e0fc66.tar.gz |
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>
-rw-r--r-- | drivers/usb/host/xhci-pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index a10494c..cbc4d49 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" |