]> err.no Git - linux-2.6/commit
spidev warning fix
authorDavid Brownell <david-b@pacbell.net>
Fri, 10 Aug 2007 20:01:09 +0000 (13:01 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 11 Aug 2007 22:47:42 +0000 (15:47 -0700)
commit96ddbf504a05502800e7cbeb4d08abbcc206c51c
tree8b33c0a5805fbdccff638a95492106c6430d8c52
parent4a2a4da43995864786d59f5f0ebf42c0c1e2cdd1
spidev warning fix

Git rid of "warning: passing arg 2 of `access_ok' makes pointer from integer
without a cast" reported on SH ...  most architectures use macros in that
test, SH uses inlined functions.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/spidev.c