mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: robert.ward114@googlemail.com
To: arnd@arndb.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org
Cc: Rob Ward <robert.ward114@googlemail.com>
Subject: [PATCH 1/2] drivers: char: mem: Replace usage of asm include
Date: Sat, 20 Dec 2014 18:28:35 +0000	[thread overview]
Message-ID: <1419100116-29819-2-git-send-email-robert.ward114@googlemail.com> (raw)
In-Reply-To: <1419100116-29819-1-git-send-email-robert.ward114@googlemail.com>

From: Rob Ward <robert.ward114@googlemail.com>

Replaces the use of asm/uaccess.h with linux/uaccess.h.

Signed-off-by: Rob Ward <robert.ward114@googlemail.com>
---
 drivers/char/mem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/char/mem.c b/drivers/char/mem.c
index 4c58333..a04ce78 100644
--- a/drivers/char/mem.c
+++ b/drivers/char/mem.c
@@ -28,7 +28,7 @@
 #include <linux/io.h>
 #include <linux/aio.h>
 
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 #ifdef CONFIG_IA64
 # include <linux/efi.h>
-- 
2.0.2


  reply	other threads:[~2014-12-20 18:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-20 18:28 [PATCH 0/2] checkpatch Warning fixes in drivers/char/mem.c robert.ward114
2014-12-20 18:28 ` robert.ward114 [this message]
2014-12-20 18:28 ` [PATCH 2/2] drivers: char: mem: Fix Missing blank line issues robert.ward114

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=1419100116-29819-2-git-send-email-robert.ward114@googlemail.com \
    --to=robert.ward114@googlemail.com \
    --cc=arnd@arndb.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.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

all inboxes | Powered by JetHome®