]> err.no Git - linux-2.6/commitdiff
fbdev: change asm/uaccess.h to linux/uaccess.h
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Tue, 16 Oct 2007 08:29:04 +0000 (01:29 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:17 +0000 (09:43 -0700)
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>
36 files changed:
drivers/video/amifb.c
drivers/video/arcfb.c
drivers/video/atafb.c
drivers/video/aty/aty128fb.c
drivers/video/aty/atyfb_base.c
drivers/video/aty/mach64_cursor.c
drivers/video/aty/radeon_base.c
drivers/video/backlight/cr_bllcd.c
drivers/video/backlight/progear_bl.c
drivers/video/clps711xfb.c
drivers/video/console/fbcon.c
drivers/video/console/softcursor.c
drivers/video/cyber2000fb.c
drivers/video/epson1355fb.c
drivers/video/fb_defio.c
drivers/video/fb_sys_fops.c
drivers/video/fbcmap.c
drivers/video/hecubafb.c
drivers/video/imsttfb.c
drivers/video/imxfb.c
drivers/video/kyro/fbdev.c
drivers/video/matrox/matroxfb_base.c
drivers/video/matrox/matroxfb_crtc2.c
drivers/video/matrox/matroxfb_g450.c
drivers/video/matrox/matroxfb_maven.c
drivers/video/neofb.c
drivers/video/pnx4008/pnxrgbfb.c
drivers/video/ps3fb.c
drivers/video/pvr2fb.c
drivers/video/pxafb.c
drivers/video/sa1100fb.c
drivers/video/savage/savagefb_driver.c
drivers/video/sis/sis_main.c
drivers/video/sstfb.c
drivers/video/vermilion/vermilion.c
drivers/video/vfb.c

index 1a849b870bcc8986a25eae263f053cfd516961e0..f2e243c353f9914c688b1496e5c30227cb49cfee 100644 (file)
@@ -52,7 +52,7 @@
 #include <linux/init.h>
 #include <linux/ioport.h>
 
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include <asm/system.h>
 #include <asm/irq.h>
 #include <asm/amigahw.h>
index db15baca3f7b01a6d3d5c934490ffb5b57ab756a..c3431691c9f21945afcce2efd924d9a9dfeac7bc 100644 (file)
@@ -48,7 +48,7 @@
 #include <linux/arcfb.h>
 #include <linux/platform_device.h>
 
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 #define floor8(a) (a&(~0x07))
 #define floorXres(a,xres) (a&(~(xres - 1)))
index 0038a0541c7eac5ec30e1ae4bf8ae0b61e8d83c4..5d4fbaa53a6cefd6fc69a9676987c77de7f5b732 100644 (file)
@@ -58,7 +58,7 @@
 #include <linux/interrupt.h>
 
 #include <asm/setup.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include <asm/pgtable.h>
 #include <asm/irq.h>
 #include <asm/io.h>
index cfcbe37d2d703478742a95f847c33878721edce4..cbd3308b66904a0cf6bcaa2dd449692495f60fea 100644 (file)
@@ -56,7 +56,7 @@
 #include <linux/vmalloc.h>
 #include <linux/delay.h>
 #include <linux/interrupt.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include <linux/fb.h>
 #include <linux/init.h>
 #include <linux/pci.h>
index b537151136fc5752df92daefeb7685fa7e79b13b..abe0c435a664ec28e81a2f69b498b58d254c469f 100644 (file)
@@ -68,7 +68,7 @@
 #include <linux/backlight.h>
 
 #include <asm/io.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 #include <video/mach64.h>
 #include "atyfb.h"
index fe2c6ad01a8d1ffaeb096262b70baafac86eede1..faf95da8fcbc074ae7878944f66c2973436ea815 100644 (file)
@@ -8,7 +8,6 @@
 #include <linux/string.h>
 
 #include <asm/io.h>
-#include <asm/uaccess.h>
 
 #ifdef __sparc__
 #include <asm/fbio.h>
index 4b747bdaeea6a134c7bfe56be6811906f29a8c7e..4f5dcd5f5c7eaf3581d8afa7459d24f8a8883e2c 100644 (file)
@@ -69,7 +69,7 @@
 #include <linux/device.h>
 
 #include <asm/io.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 #ifdef CONFIG_PPC_OF
 
index 92e201e81fbdd7adb7c7e2b544f9fa90f57b03f3..26add8898605e0bc08789e6bdf4a7961886e575b 100644 (file)
@@ -36,7 +36,6 @@
 #include <linux/backlight.h>
 #include <linux/lcd.h>
 #include <linux/pci.h>
-#include <asm/uaccess.h>
 
 /* The LVDS- and panel power controls sits on the
  * GPIO port of the ISA bridge.
index 836ab4df0ef242a1f0928f00da9fb28c22d032c5..15fb4d58b5bcce35f4e8c0a9a00bd0d76246370e 100644 (file)
@@ -23,7 +23,6 @@
 #include <linux/fb.h>
 #include <linux/backlight.h>
 #include <linux/pci.h>
-#include <asm/uaccess.h>
 
 #define PMU_LPCR               0xB0
 #define SB_MPS1                0x61
index dea6579941b7390ffe5581d9076ec72ac24986ca..17b5267f44d7a2842fffe08e08708fa2e63f441e 100644 (file)
@@ -29,7 +29,7 @@
 
 #include <asm/hardware.h>
 #include <asm/mach-types.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 #include <asm/hardware/clps7111.h>
 #include <asm/arch/syspld.h>
index e58c87b3e3a0f74cf45bab3c930f509b30ca3cfa..6d0dcde66eb4a1a3646503efc89c1f0b677832dd 100644 (file)
@@ -78,7 +78,6 @@
 #include <asm/fb.h>
 #include <asm/irq.h>
 #include <asm/system.h>
-#include <asm/uaccess.h>
 #ifdef CONFIG_ATARI
 #include <asm/atariints.h>
 #endif
index 03cfb7ac5733fd19af0d287d03d003d41f081c05..25f835bf3d72aa2f551eb78ad6c3f1ced7287e67 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/fb.h>
 #include <linux/slab.h>
 
-#include <asm/uaccess.h>
 #include <asm/io.h>
 
 #include "fbcon.h"
index 30ede6e8830fb77b97a51a75d86a24d9422ff007..9bb2cbfe4a3db65506dc6ff781ea73b7263c194a 100644 (file)
@@ -50,7 +50,6 @@
 #include <asm/io.h>
 #include <asm/pgtable.h>
 #include <asm/system.h>
-#include <asm/uaccess.h>
 
 #ifdef __arm__
 #include <asm/mach-types.h>
index 33be46ccb54f6fd1b0f69b74e1b0331f7fa59dc3..cc2810ef5de5d8467ac30566448454d0cdd5598e 100644 (file)
@@ -57,7 +57,7 @@
 
 #include <asm/types.h>
 #include <asm/io.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 #include <video/epson1355.h>
 
index 1a8643f053d87af079ceb8b32e19e19a765892c9..a0c5d9d90d741499e5cdb6087d138337c494b3e9 100644 (file)
@@ -19,7 +19,6 @@
 #include <linux/interrupt.h>
 #include <linux/fb.h>
 #include <linux/list.h>
-#include <asm/uaccess.h>
 
 /* to support deferred IO */
 #include <linux/rmap.h>
index cf2538d669cd818547b0bb1e95f566390cd5f3d3..ff275d7f3eaf128085aeb7dbdee2826b145fe9d6 100644 (file)
@@ -11,7 +11,7 @@
  */
 #include <linux/fb.h>
 #include <linux/module.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 ssize_t fb_sys_read(struct fb_info *info, char __user *buf, size_t count,
                    loff_t *ppos)
index 148108afdd51a03b445fa9b9ff90ba54fd6f06be..91b78e691505d715b67de8c990f48ea8a1b420ea 100644 (file)
@@ -15,8 +15,7 @@
 #include <linux/module.h>
 #include <linux/fb.h>
 #include <linux/slab.h>
-
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 static u16 red2[] __read_mostly = {
     0x0000, 0xaaaa
index abfcb50364c83f0b77a5b27f8df87eb054b4cb64..94e0df8a6f60bc9b80d05586b1337fad1006cc47 100644 (file)
@@ -45,7 +45,7 @@
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/list.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 /* Apollo controller specific defines */
 #define APOLLO_START_NEW_IMG   0xA0
index 94f4511023d810a49f4a8cb859025c854a97c886..3ab91bf21576b37d1b31eb7b784030d953d0b587 100644 (file)
@@ -29,7 +29,7 @@
 #include <linux/init.h>
 #include <linux/pci.h>
 #include <asm/io.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 #if defined(CONFIG_PPC)
 #include <linux/nvram.h>
index a1258989859767106811fa7f50dae4498b75db50..986ffa6c70a322202d50c7bad6c87440755f75d2 100644 (file)
@@ -34,7 +34,6 @@
 
 #include <asm/hardware.h>
 #include <asm/io.h>
-#include <asm/uaccess.h>
 #include <asm/arch/imxfb.h>
 
 /*
index 1c5579907397ea7e248ce38d0b227c09e6153a68..acb9370fdb147277e733df39934706eabb8a0645 100644 (file)
@@ -21,7 +21,7 @@
 #include <linux/init.h>
 #include <linux/pci.h>
 #include <asm/io.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #ifdef CONFIG_MTRR
 #include <asm/mtrr.h>
 #endif
index 86ca7b17900089f058b236986225addb846a6c85..b25972ac6eeb4c9c1882b611f048c0895afa37cb 100644 (file)
 #include "matroxfb_g450.h"
 #include <linux/matroxfb.h>
 #include <linux/interrupt.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 #ifdef CONFIG_PPC_PMAC
 #include <asm/machdep.h>
index 4b3344e03695239bcc2b6f08ea31b8866fe56bb2..a6ab5b6a58d06df25727a43555d6bbfc2d48dcc8 100644 (file)
@@ -15,7 +15,7 @@
 #include "matroxfb_misc.h"
 #include "matroxfb_DAC1064.h"
 #include <linux/matroxfb.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 /* **************************************************** */
 
index 4d610b405d45cabf85bd4570f45e9fe7ec4682af..6209a761f674e990c7c93d5746f065f504dc83c9 100644 (file)
@@ -17,7 +17,6 @@
 #include "matroxfb_DAC1064.h"
 #include "g450_pll.h"
 #include <linux/matroxfb.h>
-#include <asm/uaccess.h>
 #include <asm/div64.h>
 
 #include "matroxfb_g450.h"
index de0d755f901924fb439f54f8f964796ce80fa78c..49cd53e46c0acacee1e588ed77e192ad841139a3 100644 (file)
@@ -18,7 +18,6 @@
 #include <linux/i2c.h>
 #include <linux/matroxfb.h>
 #include <asm/div64.h>
-#include <asm/uaccess.h>
 
 #define MAVEN_I2CID    (0x1B)
 
index 731d7a5c5aa2abf960f1ae4e8534a06d703e7d58..4b6a99b5be0d7ba5c720bf5f4e09d43da93897ac 100644 (file)
@@ -72,7 +72,6 @@
 #include <asm/irq.h>
 #include <asm/pgtable.h>
 #include <asm/system.h>
-#include <asm/uaccess.h>
 
 #ifdef CONFIG_MTRR
 #include <asm/mtrr.h>
index f29e66e2d774976de39115a49e0d5e2fce9e2414..685761a0732c2d4196b727875af516627e9ae2a8 100644 (file)
@@ -26,7 +26,6 @@
 #include <linux/init.h>
 #include <linux/platform_device.h>
 
-#include <asm/uaccess.h>
 #include "sdum.h"
 #include "fbcommon.h"
 
index 646ec823c16844b50832152a8fc35c3665dcd636..e0beb979cecb9ae7cd4aedcc50b31b31ba45ea38 100644 (file)
@@ -34,7 +34,7 @@
 #include <linux/kthread.h>
 #include <linux/freezer.h>
 
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include <linux/fb.h>
 #include <linux/init.h>
 #include <asm/time.h>
index 06805c9b237b74051f76ab1f30a09e67e8287edf..6a3d0b574897f5da14a6840b0dfc07926506387f 100644 (file)
@@ -72,7 +72,7 @@
 #endif
 
 #ifdef CONFIG_SH_STORE_QUEUES
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include <asm/cpu/sq.h>
 #endif
 
index bfeb54ad3f0e28cdd1752a2a78c7885f5badd48d..10f912df2dad3d306eb65f97cd101760f3a82f76 100644 (file)
@@ -43,7 +43,6 @@
 #include <asm/hardware.h>
 #include <asm/io.h>
 #include <asm/irq.h>
-#include <asm/uaccess.h>
 #include <asm/div64.h>
 #include <asm/arch/pxa-regs.h>
 #include <asm/arch/bitfield.h>
index 5d2a4a4b731c66f0b17efd148d0827cde4f72cc2..ab2b2110478bc212a2f274f02bd24358ce371188 100644 (file)
 #include <asm/hardware.h>
 #include <asm/io.h>
 #include <asm/mach-types.h>
-#include <asm/uaccess.h>
 #include <asm/arch/assabet.h>
 #include <asm/arch/shannon.h>
 
index b855f4a34afe51668f3e48aeb7771dfcd33064e7..37b135d5d12ed92de0d46cd08c6250bbae297c20 100644 (file)
@@ -57,7 +57,6 @@
 #include <asm/irq.h>
 #include <asm/pgtable.h>
 #include <asm/system.h>
-#include <asm/uaccess.h>
 
 #ifdef CONFIG_MTRR
 #include <asm/mtrr.h>
index e8ccace01252afe2dadebcb3a74cce85fe0ae5f1..bc7d23683735732134970abe4d1aaf58141102ad 100644 (file)
@@ -58,7 +58,7 @@
 #include <linux/capability.h>
 #include <linux/fs.h>
 #include <linux/types.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include <asm/io.h>
 #ifdef CONFIG_MTRR
 #include <asm/mtrr.h>
index 5eff28ce4f4dcfc967583cc2afec2d36ff7eaba6..97784f9c184de95980a35c952ac81a363d68b115 100644 (file)
@@ -88,7 +88,7 @@
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <asm/io.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include <video/sstfb.h>
 
 
index de531c907718945e9e2fe14bd94098f4f3bd5765..ff9e805c43bccedcbd89689b45136f0c6ea6fa5c 100644 (file)
@@ -39,7 +39,6 @@
 #include <asm/cacheflush.h>
 #include <asm/tlbflush.h>
 #include <linux/mmzone.h>
-#include <asm/uaccess.h>
 
 /* #define VERMILION_DEBUG */
 
index 64ee78c3c12bba274d18db4f24f63f1016687b75..02cfc6a45b0dda7ee512db6f12a8cc70ebe837c1 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/interrupt.h>
 #include <linux/platform_device.h>
 
-#include <asm/uaccess.h>
 #include <linux/fb.h>
 #include <linux/init.h>