Эх сурвалжийг харах

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>
Ben Hutchings 14 жил өмнө
parent
commit
665a96b70b

+ 1 - 0
drivers/i2c/busses/i2c-i801.c

@@ -72,6 +72,7 @@
 #include <linux/acpi.h>
 #include <linux/acpi.h>
 #include <linux/io.h>
 #include <linux/io.h>
 #include <linux/dmi.h>
 #include <linux/dmi.h>
+#include <linux/slab.h>
 
 
 /* I801 SMBus address offsets */
 /* I801 SMBus address offsets */
 #define SMBHSTSTS(p)	(0 + (p)->smba)
 #define SMBHSTSTS(p)	(0 + (p)->smba)