frv: hide uncached_access() when pgprot_noncached is not #defined
authorDavid Howells <dhowells@redhat.com>
Tue, 6 Apr 2010 21:35:08 +0000 (14:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Apr 2010 15:38:05 +0000 (08:38 -0700)
commitea56f411ec2d4d8689eb7f3bcd24e860acf87c47
tree6c0862001b4974e460300d884cc6b6310102a3eb
parentc783a29efcbc90a90ccfec8956c7ff0854301c34
frv: hide uncached_access() when pgprot_noncached is not #defined

Hide uncached_access() when pgprot_noncached is not #defined.  This prevents
the following warning:

  CC      drivers/char/mem.o
drivers/char/mem.c:229: warning: 'uncached_access' defined but not used

Repairs d7d4d849b4e3acc405ec222884936800ffb26d48 ("drivers/char/mem.c:
cleanups").

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/mem.c