staging: tidspbridge: ioremap dsp sync addr
authorOmar Ramirez Luna <omar.ramirez@copitl.com>
Wed, 24 Oct 2012 22:09:18 +0000 (17:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 23:31:31 +0000 (16:31 -0700)
commit7de8a0cf48a023058642c69145630d51709aa174
tree8fce0e9cafdb8d11c11f72ef5d566e8b498a22ff
parent3c8676967bce1c9b8723129625a2125b7704674f
staging: tidspbridge: ioremap dsp sync addr

Change the type of sync_addr to 'void __iomem *' and ioremap the
physical address in the shared memory so we can access it using
_raw_*. While at it, drop 'dw_' prefix.

Fix the warning associated with dsp's sync_addr:

warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast
../io.h:88: note: expected 'volatile void *' but argument is of type 'u32'

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