x86: asm-i386/io.h fix constness
commit3c215b6680b347593705e010688e80400d772763
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 17 Oct 2007 16:04:39 +0000 (17 18:04 +0200)
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>
Wed, 17 Oct 2007 18:16:40 +0000 (17 20:16 +0200)
tree865d529e0d407a7c458a95ba2687cb08d829b891
parent95c1e9aefa5d3a2dd61304797cad96e8fdcd95ce
x86: asm-i386/io.h fix constness

- Fix this:

include/asm/io.h: In function `memcpy_fromio':
include/asm/io.h:208: warning: passing argument 2 of `__memcpy' discards qualifiers from pointer target type

- Clean up code a bit

Reported-by: Uwe Bugla <uwe.bugla@gmx.de>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/io_32.h