Staging: iio: pull in slab.h for kmalloc funcs
authorMike Frysinger <vapier@gentoo.org>
Sun, 23 May 2010 07:10:35 +0000 (03:10 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Jun 2010 20:14:32 +0000 (13:14 -0700)
commit1cb6c1f59431f16e46f0d07398cc789ee0a26731
tree5019f8f0caf68ab1c1fa7e5ad8263f16b4f67b11
parentc608cb012e150d5c24b400ea89000105134bd564
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>
13 files changed:
drivers/staging/iio/accel/adis16209_core.c
drivers/staging/iio/accel/adis16209_ring.c
drivers/staging/iio/accel/adis16220_core.c
drivers/staging/iio/accel/adis16240_core.c
drivers/staging/iio/accel/adis16240_ring.c
drivers/staging/iio/gyro/adis16260_core.c
drivers/staging/iio/gyro/adis16260_ring.c
drivers/staging/iio/imu/adis16300_core.c
drivers/staging/iio/imu/adis16300_ring.c
drivers/staging/iio/imu/adis16350_core.c
drivers/staging/iio/imu/adis16350_ring.c
drivers/staging/iio/imu/adis16400_core.c
drivers/staging/iio/imu/adis16400_ring.c