diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-05-23 07:10:35 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-18 20:14:32 (GMT) |
commit | 1cb6c1f59431f16e46f0d07398cc789ee0a26731 (patch) | |
tree | 5019f8f0caf68ab1c1fa7e5ad8263f16b4f67b11 /drivers/staging/iio/gyro/adis16260_core.c | |
parent | c608cb012e150d5c24b400ea89000105134bd564 (diff) | |
download | linux-fsl-qoriq-1cb6c1f59431f16e46f0d07398cc789ee0a26731.tar.xz |
Staging: iio: pull in slab.h for kmalloc funcs
These drivers use kzalloc() but don't include slab.h. They currently
build though because the spi.h header will pull in slab.h for us. But
rather than rely on that behavior forever, include slab.h explicitly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/gyro/adis16260_core.c')
-rw-r--r-- | drivers/staging/iio/gyro/adis16260_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/gyro/adis16260_core.c b/drivers/staging/iio/gyro/adis16260_core.c index c93f4d5..f0246a4 100644 --- a/drivers/staging/iio/gyro/adis16260_core.c +++ b/drivers/staging/iio/gyro/adis16260_core.c @@ -14,7 +14,7 @@ #include <linux/device.h> #include <linux/kernel.h> #include <linux/spi/spi.h> - +#include <linux/slab.h> #include <linux/sysfs.h> #include <linux/list.h> |