]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
i2c-i801: Include <linux/slab.h>
authorBen Hutchings <ben@decadent.org.uk>
Mon, 10 Jan 2011 21:11:22 +0000 (22:11 +0100)
committerJean Delvare <khali@endymion.delvare>
Mon, 10 Jan 2011 21:11:22 +0000 (22:11 +0100)
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>
drivers/i2c/busses/i2c-i801.c

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