Re: [PATCH] Input: pxa27x_keypad - remove unnecessary ARM includes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> Cc: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> Cc: linux-input@xxxxxxxxxxxxxxx

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
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux