summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorDaniel J Blueman <daniel@quora.org>2012-10-05 22:23:55 +0200
committerJean Delvare <khali@endymion.delvare>2012-10-05 22:23:55 +0200
commitc415b303a704e5c5f766fc0404093910c36cc4ab (patch)
tree2a18a6095cd8b55c8dd47a7cb499a3c9ddbe980a /drivers/i2c
parent0ec13867eff2a722c43b2a2cedf11547974e6976 (diff)
downloadop-kernel-dev-c415b303a704e5c5f766fc0404093910c36cc4ab.zip
op-kernel-dev-c415b303a704e5c5f766fc0404093910c36cc4ab.tar.gz
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]
Diffstat (limited to 'drivers/i2c')
-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 ef511df..8bbd6ec 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>
OpenPOWER on IntegriCloud