public inbox for linux-input@vger.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Rob Herring <robh@kernel.org>
Cc: linux-input@vger.kernel.org
Subject: Re: [PATCH] Input: pxa27x_keypad - remove unnecessary ARM includes
Date: Tue, 3 Feb 2015 15:13:33 -0800	[thread overview]
Message-ID: <20150203231333.GB16639@dtor-ws> (raw)
In-Reply-To: <1423004670-16711-1-git-send-email-robh@kernel.org>

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

      reply	other threads:[~2015-02-03 23:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-03 23:04 [PATCH] Input: pxa27x_keypad - remove unnecessary ARM includes Rob Herring
2015-02-03 23:13 ` Dmitry Torokhov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150203231333.GB16639@dtor-ws \
    --to=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox