Re: [PATCH] i2c: use <linux/io.h> instead of <asm/io.h>
From: Jean Delvare
Date: Mon May 10 2010 - 13:55:35 EST
On Thu, 6 May 2010 12:53:57 -0500, H Hartley Sweeten wrote:
> As warned by checkpatch.pl, <linux/io.h> should be used instead of
> <asm.io.h>.
>
> Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>
>
> ---
>
> diff --git a/drivers/i2c/busses/i2c-ali1535.c b/drivers/i2c/busses/i2c-ali1535.c
> index bd8f1e4..906a3ca 100644
> --- a/drivers/i2c/busses/i2c-ali1535.c
> +++ b/drivers/i2c/busses/i2c-ali1535.c
> @@ -60,7 +60,7 @@
> #include <linux/i2c.h>
> #include <linux/init.h>
> #include <linux/acpi.h>
> -#include <asm/io.h>
> +#include <linux/io.h>
> (...)
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/