Re: [PATCH] Fix Intel PIIX4 I2C driver build failure

From: Jean Delvare
Date: Fri Oct 05 2012 - 03:29:09 EST


On Fri, 5 Oct 2012 12:21:11 +0800, Daniel J Blueman wrote:
> Fix build failure in Intel PIIX4 I2C driver.
>
> Signed-off-by: Daniel J Blueman <daniel@xxxxxxxxx>
> ---
> drivers/i2c/busses/i2c-piix4.c | 1 +
> 1 file changed, 1 insertion(+)
>
> 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>

Good catch. Applied, thanks.

--
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/