summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel J Blueman <daniel@quora.org>2012-10-06 00:23:55 +0400
committerJean Delvare <khali@endymion.delvare>2012-10-06 00:23:55 +0400
commitc415b303a704e5c5f766fc0404093910c36cc4ab (patch)
tree2a18a6095cd8b55c8dd47a7cb499a3c9ddbe980a
parent0ec13867eff2a722c43b2a2cedf11547974e6976 (diff)
downloadlinux-c415b303a704e5c5f766fc0404093910c36cc4ab.tar.xz
i2c-piix4: Fix build failure
Fix build failure in Intel PIIX4 I2C driver. Signed-off-by: Daniel J Blueman <daniel@quora.org> Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: stable@vger.kernel.org [v3.6]
-rw-r--r--drivers/i2c/busses/i2c-piix4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-piix4.c b/drivers/i2c/busses/i2c-piix4.c
index ef511df2c965..8bbd6ece7c41 100644
--- a/drivers/i2c/busses/i2c-piix4.c
+++ b/drivers/i2c/busses/i2c-piix4.c
@@ -37,6 +37,7 @@
#include <linux/stddef.h>
#include <linux/ioport.h>
#include <linux/i2c.h>
+#include <linux/slab.h>
#include <linux/init.h>
#include <linux/dmi.h>
#include <linux/acpi.h>