staging: tidspbridge: drop const from custom mmu implementation
authorOmar Ramirez Luna <omar.ramirez@copitl.com>
Wed, 24 Oct 2012 22:09:16 +0000 (17:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 23:31:31 +0000 (16:31 -0700)
commit53e3e3f19f3a0c4c38e28eb4af7acfee325db375
treee0ffd1bf17d39bd2d40331f183377119cd183fc8
parentb8cac0bbed33065ac42b3791efefec5dc233f7c1
staging: tidspbridge: drop const from custom mmu implementation

Custom mmu functions receive a 'const void __iomem *', all the
callers pass a 'void __iomem *', so drop the const to fix the
warnings like:

warning: passing argument 2 of '__raw_writel' discards qualifiers from pointer target type
../io.h:88: note: expected 'volatile void *' but argument is of type 'const void *'

Signed-off-by: Omar Ramirez Luna <omar.ramirez@copitl.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/tidspbridge/hw/hw_mmu.c
drivers/staging/tidspbridge/hw/hw_mmu.h