All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] mfd: Include <linux/io.h> instead of <asm/io.h>
@ 2010-11-10  7:47 Axel Lin
  2010-11-23 20:33 ` Ben Dooks
  2010-11-26 10:16 ` Samuel Ortiz
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2010-11-10  7:47 UTC (permalink / raw)
  To: linux-kernel; +Cc: Samuel Ortiz, Ben Dooks, Vincent Sanders

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

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 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




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] mfd: Include <linux/io.h> instead of <asm/io.h>
  2010-11-10  7:47 [PATCH 1/2] mfd: Include <linux/io.h> instead of <asm/io.h> Axel Lin
@ 2010-11-23 20:33 ` Ben Dooks
  2010-11-26 10:16 ` Samuel Ortiz
  1 sibling, 0 replies; 3+ messages in thread
From: Ben Dooks @ 2010-11-23 20:33 UTC (permalink / raw)
  To: Axel Lin; +Cc: linux-kernel, Samuel Ortiz, Vincent Sanders

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 <axel.lin@gmail.com>
Acked-by: Ben Dooks <ben@simtec.co.uk>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] mfd: Include <linux/io.h> instead of <asm/io.h>
  2010-11-10  7:47 [PATCH 1/2] mfd: Include <linux/io.h> instead of <asm/io.h> Axel Lin
  2010-11-23 20:33 ` Ben Dooks
@ 2010-11-26 10:16 ` Samuel Ortiz
  1 sibling, 0 replies; 3+ messages in thread
From: Samuel Ortiz @ 2010-11-26 10:16 UTC (permalink / raw)
  To: Axel Lin; +Cc: linux-kernel, Ben Dooks, Vincent Sanders

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@gmail.com>
> ---
>  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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-26 10:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-10  7:47 [PATCH 1/2] mfd: Include <linux/io.h> instead of <asm/io.h> Axel Lin
2010-11-23 20:33 ` Ben Dooks
2010-11-26 10:16 ` Samuel Ortiz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.