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
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]>
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/