]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit82161d56cb3108a4a0170e1c1e203983848768ea
tree8fce0e9cafdb8d11c11f72ef5d566e8b498a22ff
parent29467f6ed0f1894409f973d919870c30aeb7541e
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