Re: [PATCH 1/2] mfd: Include <linux/io.h> instead of <asm/io.h>

From: Samuel Ortiz
Date: Fri Nov 26 2010 - 05:16:50 EST


Hi Axel,

On Wed, Nov 10, 2010 at 03:47:51PM +0800, Axel Lin wrote:
> As warned by checkpatch.pl, use #include <linux/io.h> instead of <asm/io.h>
Thanks a lot, both patches applied.

Cheers,
Samuel.


> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
> ---
> drivers/mfd/sm501.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mfd/sm501.c b/drivers/mfd/sm501.c
> index bc9275c..c24bed7 100644
> --- a/drivers/mfd/sm501.c
> +++ b/drivers/mfd/sm501.c
> @@ -26,7 +26,7 @@
> #include <linux/sm501-regs.h>
> #include <linux/serial_8250.h>
>
> -#include <asm/io.h>
> +#include <linux/io.h>
>
> struct sm501_device {
> struct list_head list;
> --
> 1.7.2
>
>
>

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
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/