# \[PATCH 08/10\] Bluetooth: Use \#include \<linux/uaccess.h\> instead of \<asm/uaccess.h\>

- From: Szymon Janc \<hidden\>
- Date: 2011-03-21 13:20:04 
- List: linux-bluetooth
- Page: https://ratatoskr.run/linux-bluetooth/2011/03/9609712
- Thread: https://ratatoskr.run/linux-bluetooth/2011/03/9609721/t.md

```text
As warned by checkpatch.pl, use #include <linux/uaccess.h> instead of
<asm/uaccess.h>

Signed-off-by: Szymon Janc <redacted>
---
 net/bluetooth/cmtp/sock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/bluetooth/cmtp/sock.c b/net/bluetooth/cmtp/sock.c
index 7ea1979..3f2dd5c 100644
--- a/net/bluetooth/cmtp/sock.c
+++ b/net/bluetooth/cmtp/sock.c
@@ -34,12 +34,12 @@
 #include <linux/file.h>
 #include <linux/compat.h>
 #include <linux/gfp.h>
+#include <linux/uaccess.h>
 #include <net/sock.h>
 
 #include <linux/isdn/capilli.h>
 
 #include <asm/system.h>
-#include <asm/uaccess.h>
 
 #include "cmtp.h"
 
-- 
1.7.0.4

```
