Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

i2c-i801: Include <linux/slab.h>

Commit 5a0e3ad6af8660be21ca98a971cd00f331318c05 added direct inclusion
of <linux/slab.h> to those source files that appeared to need it, but
somehow missed this. On most architectures <linux/slab.h> is still
indirectly included, but there are exceptions such as alpha.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Jean Delvare <khali@linux-fr.org>

authored by

Ben Hutchings and committed by
Jean Delvare
665a96b7 0c21e3aa

+1
+1
drivers/i2c/busses/i2c-i801.c
··· 72 72 #include <linux/acpi.h> 73 73 #include <linux/io.h> 74 74 #include <linux/dmi.h> 75 + #include <linux/slab.h> 75 76 76 77 /* I801 SMBus address offsets */ 77 78 #define SMBHSTSTS(p) (0 + (p)->smba)