diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2007-10-16 04:29:04 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:17 -0400 |
commit | 84902b7af642c86a518c17629c0dbe705a4b6d14 (patch) | |
tree | b16dd021a3a5217557bb29c986be9615b8cddf48 /drivers/video/aty | |
parent | 120c0b6d57257b2a3508d96bdaf54781935439f6 (diff) |
fbdev: change asm/uaccess.h to linux/uaccess.h
This patch replaces <asm/uaccess.h> with <linux/uaccess.h> after the
checkpatch.pl hint. The include of <asm/uaccess.h> is removed if the driver
does not use it.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/aty')
-rw-r--r-- | drivers/video/aty/aty128fb.c | 2 | ||||
-rw-r--r-- | drivers/video/aty/atyfb_base.c | 2 | ||||
-rw-r--r-- | drivers/video/aty/mach64_cursor.c | 1 | ||||
-rw-r--r-- | drivers/video/aty/radeon_base.c | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/drivers/video/aty/aty128fb.c b/drivers/video/aty/aty128fb.c index cfcbe37d2d70..cbd3308b6690 100644 --- a/drivers/video/aty/aty128fb.c +++ b/drivers/video/aty/aty128fb.c | |||
@@ -56,7 +56,7 @@ | |||
56 | #include <linux/vmalloc.h> | 56 | #include <linux/vmalloc.h> |
57 | #include <linux/delay.h> | 57 | #include <linux/delay.h> |
58 | #include <linux/interrupt.h> | 58 | #include <linux/interrupt.h> |
59 | #include <asm/uaccess.h> | 59 | #include <linux/uaccess.h> |
60 | #include <linux/fb.h> | 60 | #include <linux/fb.h> |
61 | #include <linux/init.h> | 61 | #include <linux/init.h> |
62 | #include <linux/pci.h> | 62 | #include <linux/pci.h> |
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c index b537151136fc..abe0c435a664 100644 --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c | |||
@@ -68,7 +68,7 @@ | |||
68 | #include <linux/backlight.h> | 68 | #include <linux/backlight.h> |
69 | 69 | ||
70 | #include <asm/io.h> | 70 | #include <asm/io.h> |
71 | #include <asm/uaccess.h> | 71 | #include <linux/uaccess.h> |
72 | 72 | ||
73 | #include <video/mach64.h> | 73 | #include <video/mach64.h> |
74 | #include "atyfb.h" | 74 | #include "atyfb.h" |
diff --git a/drivers/video/aty/mach64_cursor.c b/drivers/video/aty/mach64_cursor.c index fe2c6ad01a8d..faf95da8fcbc 100644 --- a/drivers/video/aty/mach64_cursor.c +++ b/drivers/video/aty/mach64_cursor.c | |||
@@ -8,7 +8,6 @@ | |||
8 | #include <linux/string.h> | 8 | #include <linux/string.h> |
9 | 9 | ||
10 | #include <asm/io.h> | 10 | #include <asm/io.h> |
11 | #include <asm/uaccess.h> | ||
12 | 11 | ||
13 | #ifdef __sparc__ | 12 | #ifdef __sparc__ |
14 | #include <asm/fbio.h> | 13 | #include <asm/fbio.h> |
diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c index 4b747bdaeea6..4f5dcd5f5c7e 100644 --- a/drivers/video/aty/radeon_base.c +++ b/drivers/video/aty/radeon_base.c | |||
@@ -69,7 +69,7 @@ | |||
69 | #include <linux/device.h> | 69 | #include <linux/device.h> |
70 | 70 | ||
71 | #include <asm/io.h> | 71 | #include <asm/io.h> |
72 | #include <asm/uaccess.h> | 72 | #include <linux/uaccess.h> |
73 | 73 | ||
74 | #ifdef CONFIG_PPC_OF | 74 | #ifdef CONFIG_PPC_OF |
75 | 75 | ||