* [PATCH] Input: pxa27x_keypad - remove unnecessary ARM includes
@ 2015-02-03 23:04 Rob Herring
2015-02-03 23:13 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2015-02-03 23:04 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: Rob Herring, linux-input
Remove some left-over ARM only includes in order to enable building on
ARM64. __raw_{read,write}l were getting implicitly included, so add
linux/io.h include.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org
---
drivers/input/keyboard/pxa27x_keypad.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/input/keyboard/pxa27x_keypad.c b/drivers/input/keyboard/pxa27x_keypad.c
index a90d6bd..a89488a 100644
--- a/drivers/input/keyboard/pxa27x_keypad.c
+++ b/drivers/input/keyboard/pxa27x_keypad.c
@@ -20,6 +20,7 @@
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/input.h>
+#include <linux/io.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
@@ -28,10 +29,6 @@
#include <linux/slab.h>
#include <linux/of.h>
-#include <asm/mach/arch.h>
-#include <asm/mach/map.h>
-
-#include <mach/hardware.h>
#include <linux/platform_data/keypad-pxa27x.h>
/*
* Keypad Controller registers
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Input: pxa27x_keypad - remove unnecessary ARM includes
2015-02-03 23:04 [PATCH] Input: pxa27x_keypad - remove unnecessary ARM includes Rob Herring
@ 2015-02-03 23:13 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2015-02-03 23:13 UTC (permalink / raw)
To: Rob Herring; +Cc: linux-input
On Tue, Feb 03, 2015 at 05:04:30PM -0600, Rob Herring wrote:
> Remove some left-over ARM only includes in order to enable building on
> ARM64. __raw_{read,write}l were getting implicitly included, so add
> linux/io.h include.
>
> Signed-off-by: Rob Herring <robh@kernel.org>
> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> Cc: linux-input@vger.kernel.org
Applied, thank you.
> ---
> drivers/input/keyboard/pxa27x_keypad.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/drivers/input/keyboard/pxa27x_keypad.c b/drivers/input/keyboard/pxa27x_keypad.c
> index a90d6bd..a89488a 100644
> --- a/drivers/input/keyboard/pxa27x_keypad.c
> +++ b/drivers/input/keyboard/pxa27x_keypad.c
> @@ -20,6 +20,7 @@
> #include <linux/module.h>
> #include <linux/interrupt.h>
> #include <linux/input.h>
> +#include <linux/io.h>
> #include <linux/device.h>
> #include <linux/platform_device.h>
> #include <linux/clk.h>
> @@ -28,10 +29,6 @@
> #include <linux/slab.h>
> #include <linux/of.h>
>
> -#include <asm/mach/arch.h>
> -#include <asm/mach/map.h>
> -
> -#include <mach/hardware.h>
> #include <linux/platform_data/keypad-pxa27x.h>
> /*
> * Keypad Controller registers
> --
> 2.1.0
>
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-03 23:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-03 23:04 [PATCH] Input: pxa27x_keypad - remove unnecessary ARM includes Rob Herring
2015-02-03 23:13 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).