2010-11-10 07:44:13

by Axel Lin

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

As warned by checkpatch.pl, use #include <linux/io.h> instead of <asm/io.h>

Signed-off-by: Axel Lin <[email protected]>
---
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



2010-11-23 21:19:03

by Ben Dooks

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

On 10/11/10 07:47, Axel Lin wrote:
> As warned by checkpatch.pl, use #include <linux/io.h> instead of <asm/io.h>
>
> Signed-off-by: Axel Lin <[email protected]>
Acked-by: Ben Dooks <[email protected]>

2010-11-26 10:16:46

by Samuel Ortiz

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

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 <[email protected]>
> ---
> 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/